| Index: components/dom_distiller/content/distiller_page_web_contents_browsertest.cc
|
| diff --git a/components/dom_distiller/content/distiller_page_web_contents_browsertest.cc b/components/dom_distiller/content/distiller_page_web_contents_browsertest.cc
|
| index a743a3c9f2942dfb1e432750540c2b4e1ec0cfbd..3d2cc68f84505a6f983821a3f70321db5a534d16 100644
|
| --- a/components/dom_distiller/content/distiller_page_web_contents_browsertest.cc
|
| +++ b/components/dom_distiller/content/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()));
|
|
|