mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
tests: Remove accidental C++20 dependency (see #3611)
This commit is contained in:
@ -320,7 +320,8 @@ void TestHandler::OnCreated(int browser_id,
|
|||||||
bool views_hosted) {
|
bool views_hosted) {
|
||||||
CHECK(use_views_ || !views_hosted);
|
CHECK(use_views_ || !views_hosted);
|
||||||
|
|
||||||
const bool has_value = browser_status_map_.contains(browser_id);
|
const bool has_value =
|
||||||
|
browser_status_map_.find(browser_id) != browser_status_map_.end();
|
||||||
|
|
||||||
auto& browser_status = browser_status_map_[browser_id];
|
auto& browser_status = browser_status_map_[browser_id];
|
||||||
if (has_value) {
|
if (has_value) {
|
||||||
|
Reference in New Issue
Block a user