Index: tools/perf/benchmarks/maps.py |
diff --git a/tools/perf/benchmarks/maps.py b/tools/perf/benchmarks/maps.py |
index 7acda862b91ddd0796530b3fba3972b4f07a4479..ef84b4b735a3604f8ef0596e53aa1485675697ed 100644 |
--- a/tools/perf/benchmarks/maps.py |
+++ b/tools/perf/benchmarks/maps.py |
@@ -36,7 +36,7 @@ class MapsPage(page_module.Page): |
def RunNavigateSteps(self, action_runner): |
action_runner.NavigateToPage(self) |
- action_runner.RunAction(WaitAction({'javascript': 'window.testDone'})) |
+ action_runner.WaitForJavaScriptCondition('window.testDone') |
@test.Disabled |