Index: tools/perf/benchmarks/oortonline.py |
diff --git a/tools/perf/benchmarks/oortonline.py b/tools/perf/benchmarks/oortonline.py |
index 13fc7f9edd1924272c8559a16872c23409647909..2453b80e40ce0611d7d8a2d681b457161576e5a0 100644 |
--- a/tools/perf/benchmarks/oortonline.py |
+++ b/tools/perf/benchmarks/oortonline.py |
@@ -23,8 +23,8 @@ class _OortOnlineMeasurement(legacy_page_test.LegacyPageTest): |
def ValidateAndMeasurePage(self, page, tab, results): |
del page # unused |
- tab.WaitForJavaScriptCondition2('window.benchmarkFinished', timeout=1000) |
- scores = tab.EvaluateJavaScript2('window.benchmarkScore') |
+ tab.WaitForJavaScriptCondition('window.benchmarkFinished', timeout=1000) |
+ scores = tab.EvaluateJavaScript('window.benchmarkScore') |
for score in scores: |
valid = score['valid'] |
if valid: |