diff options
Diffstat (limited to 'www/chromium/files/patch-chrome_test_chromedriver_capabilities.cc')
-rw-r--r-- | www/chromium/files/patch-chrome_test_chromedriver_capabilities.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/www/chromium/files/patch-chrome_test_chromedriver_capabilities.cc b/www/chromium/files/patch-chrome_test_chromedriver_capabilities.cc index e43785fe91a1..d528b4300d3f 100644 --- a/www/chromium/files/patch-chrome_test_chromedriver_capabilities.cc +++ b/www/chromium/files/patch-chrome_test_chromedriver_capabilities.cc @@ -1,4 +1,4 @@ ---- chrome/test/chromedriver/capabilities.cc.orig 2023-07-16 15:47:57 UTC +--- chrome/test/chromedriver/capabilities.cc.orig 2023-08-17 07:33:31 UTC +++ chrome/test/chromedriver/capabilities.cc @@ -355,7 +355,11 @@ Status ParseMobileEmulation(const base::Value& option, "'version' field of type string"); @@ -7,7 +7,7 @@ +#if defined(__clang__) && (__clang_major__ >= 15) brands.emplace_back(*brand, *version); +#else -+ brands.emplace_back(BrandVersion{*brand, *version}); ++ brands.emplace_back() = {*brand, *version}; +#endif } @@ -19,7 +19,7 @@ +#if defined(__clang__) && (__clang_major__ >= 15) full_version_list.emplace_back(*brand, *version); +#else -+ full_version_list.emplace_back(BrandVersion{*brand, *version}); ++ full_version_list.emplace_back() = {*brand, *version}; +#endif } |