Index: tools/perf/page_sets/top_10.py |
diff --git a/tools/perf/page_sets/top_10.py b/tools/perf/page_sets/top_10.py |
index 4d9b5eb419340e1971cb62add17020eebcb8b490..7c9045fad222db2377dca3c918728c8a9287818b 100644 |
--- a/tools/perf/page_sets/top_10.py |
+++ b/tools/perf/page_sets/top_10.py |
@@ -37,7 +37,7 @@ class Gmail(SimplePage): |
def RunNavigateSteps(self, action_runner): |
super(Gmail, self).RunNavigateSteps(action_runner) |
- action_runner.WaitForJavaScriptCondition2( |
+ action_runner.WaitForJavaScriptCondition( |
'window.gmonkey !== undefined &&' |
'document.getElementById("gb") !== null') |
@@ -51,7 +51,7 @@ class GoogleCalendar(SimplePage): |
def RunNavigateSteps(self, action_runner): |
super(GoogleCalendar, self).RunNavigateSteps(action_runner) |
- action_runner.ExecuteJavaScript2(''' |
+ action_runner.ExecuteJavaScript(''' |
(function() { var elem = document.createElement("meta"); |
elem.name="viewport"; |
elem.content="initial-scale=1"; |