mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
ceftests: Fix type conversion error (see #3664)
This commit is contained in:
@ -1520,7 +1520,7 @@ class CrossOriginOrderSubTestHandler : public OrderSubTestHandler {
|
|||||||
// Parse the format from frame_util::MakeFrameIdentifier to return |child_id|.
|
// Parse the format from frame_util::MakeFrameIdentifier to return |child_id|.
|
||||||
static std::string ExtractChildId(const std::string& frame_id) {
|
static std::string ExtractChildId(const std::string& frame_id) {
|
||||||
const auto pos = frame_id.find('-');
|
const auto pos = frame_id.find('-');
|
||||||
CHECK_GT(pos, 0) << frame_id;
|
CHECK_GT(pos, 0U) << frame_id;
|
||||||
return frame_id.substr(0, pos);
|
return frame_id.substr(0, pos);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user