mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-23 07:27:42 +01:00
win: ceftests: Fix type conversion error (see #3664)
This commit is contained in:
parent
ba9f4a4c6e
commit
e38eaeb817
@ -1519,7 +1519,7 @@ class CrossOriginOrderSubTestHandler : public OrderSubTestHandler {
|
||||
private:
|
||||
// Parse the format from frame_util::MakeFrameIdentifier to return |child_id|.
|
||||
static std::string ExtractChildId(const std::string& frame_id) {
|
||||
const int pos = frame_id.find('-');
|
||||
const auto pos = frame_id.find('-');
|
||||
CHECK_GT(pos, 0) << frame_id;
|
||||
return frame_id.substr(0, pos);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user