Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(670)

Unified Diff: headless/lib/headless_devtools_client_browsertest.cc

Issue 2277193002: headless: Fix browser test build failure (Closed)
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: headless/lib/headless_devtools_client_browsertest.cc
diff --git a/headless/lib/headless_devtools_client_browsertest.cc b/headless/lib/headless_devtools_client_browsertest.cc
index aff5b8006bcea80b660c2bb9b2127fbebf8d9cda..389d7cd110652dd1e3b19ef902103e17b2d6ee90 100644
--- a/headless/lib/headless_devtools_client_browsertest.cc
+++ b/headless/lib/headless_devtools_client_browsertest.cc
@@ -185,8 +185,12 @@ class HeadlessDevToolsClientExperimentalTest
void RunDevTooledTest() override {
EXPECT_TRUE(embedded_test_server()->Start());
// Check that experimental commands require parameter objects.
- devtools_client_->GetRuntime()->GetExperimental()->RunIfWaitingForDebugger(
- runtime::RunIfWaitingForDebuggerParams::Builder().Build());
+ devtools_client_->GetRuntime()
+ ->GetExperimental()
+ ->SetCustomObjectFormatterEnabled(
+ runtime::SetCustomObjectFormatterEnabledParams::Builder()
+ .SetEnabled(false)
+ .Build());
devtools_client_->GetPage()->GetExperimental()->AddObserver(this);
devtools_client_->GetPage()->Enable();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698