summaryrefslogtreecommitdiffstats
path: root/tools/perf/page_sets/image_decoding_measurement.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/page_sets/image_decoding_measurement.py')
-rw-r--r--tools/perf/page_sets/image_decoding_measurement.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/tools/perf/page_sets/image_decoding_measurement.py b/tools/perf/page_sets/image_decoding_measurement.py
index 7f7c19f..7b8fe616 100644
--- a/tools/perf/page_sets/image_decoding_measurement.py
+++ b/tools/perf/page_sets/image_decoding_measurement.py
@@ -16,10 +16,7 @@ class ImageDecodingMeasurementPage(page_module.Page):
def RunNavigateSteps(self, action_runner):
action_runner.NavigateToPage(self)
- action_runner.RunAction(JavascriptAction(
- {
- 'expression': 'runBenchmark();'
- }))
+ action_runner.ExecuteJavaScript('runBenchmark();')
action_runner.RunAction(WaitAction(
{
'javascript': 'isDone'