| Index: components/dom_distiller/content/browser/distiller_page_web_contents_browsertest.cc
|
| diff --git a/components/dom_distiller/content/browser/distiller_page_web_contents_browsertest.cc b/components/dom_distiller/content/browser/distiller_page_web_contents_browsertest.cc
|
| index 99f40f0b9d8e2fdff67594f2beafd62a88ba25f4..ac503d9859ee365381ddfc71d0c4ec8f1342d156 100644
|
| --- a/components/dom_distiller/content/browser/distiller_page_web_contents_browsertest.cc
|
| +++ b/components/dom_distiller/content/browser/distiller_page_web_contents_browsertest.cc
|
| @@ -504,7 +504,7 @@ IN_PROC_BROWSER_TEST_F(DistillerPageWebContentsTest,
|
|
|
| // Execute the JS to run the tests, and wait until it has finished.
|
| base::RunLoop run_loop;
|
| - web_contents->GetMainFrame()->ExecuteJavaScript(
|
| + web_contents->GetMainFrame()->ExecuteJavaScriptForTests(
|
| base::UTF8ToUTF16("(function() {return pinchtest.run();})();"),
|
| base::Bind(&DistillerPageWebContentsTest::OnJsExecutionDone,
|
| base::Unretained(this), run_loop.QuitClosure()));
|
|
|