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

Unified Diff: components/printing/test/print_web_view_helper_browsertest.cc

Issue 1257603003: Revert of Add ExecuteJavaScriptForTest and make all tests use it (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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
Index: components/printing/test/print_web_view_helper_browsertest.cc
diff --git a/components/printing/test/print_web_view_helper_browsertest.cc b/components/printing/test/print_web_view_helper_browsertest.cc
index c1eb5847f6450a4c3953a85a12fc2e9b8dc768ef..28d25231ff507568f9cf9a11ec2bc8bf258abbd5 100644
--- a/components/printing/test/print_web_view_helper_browsertest.cc
+++ b/components/printing/test/print_web_view_helper_browsertest.cc
@@ -153,7 +153,7 @@
}
void PrintWithJavaScript() {
- ExecuteJavaScriptForTests("window.print();");
+ ExecuteJavaScript("window.print();");
ProcessPendingMessages();
}
// The renderer should be done calculating the number of rendered pages

Powered by Google App Engine
This is Rietveld 408576698