Index: tools/perf/benchmarks/indexeddb_perf.py |
diff --git a/tools/perf/benchmarks/indexeddb_perf.py b/tools/perf/benchmarks/indexeddb_perf.py |
index 41847cab0775371b015686515d3024b6b264ce04..4955798d908c0e08113e7c94d4dbdf4691071e93 100644 |
--- a/tools/perf/benchmarks/indexeddb_perf.py |
+++ b/tools/perf/benchmarks/indexeddb_perf.py |
@@ -65,7 +65,7 @@ class _IndexedDbMeasurement(legacy_page_test.LegacyPageTest): |
def ValidateAndMeasurePage(self, page, tab, results): |
tab.WaitForDocumentReadyStateToBeComplete() |
- tab.WaitForJavaScriptCondition2('window.done', timeout=600) |
+ tab.WaitForJavaScriptCondition('window.done', timeout=600) |
self._power_metric.Stop(page, tab) |
self._memory_metric.Stop(page, tab) |
@@ -73,7 +73,7 @@ class _IndexedDbMeasurement(legacy_page_test.LegacyPageTest): |
self._memory_metric.AddResults(tab, results) |
self._power_metric.AddResults(tab, results) |
- result_dict = json.loads(tab.EvaluateJavaScript2( |
+ result_dict = json.loads(tab.EvaluateJavaScript( |
'JSON.stringify(automation.getResults());')) |
total = 0.0 |
for key in result_dict: |