Index: tools/perf/page_sets/image_decoding_measurement.py |
diff --git a/tools/perf/page_sets/image_decoding_measurement.py b/tools/perf/page_sets/image_decoding_measurement.py |
index 7f7c19f129acfa50fcca62f5b5a973242e6a07f2..7b8fe61623dbb4041943281ce61b83bb678a8b90 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' |