diff options
Diffstat (limited to 'tools/perf/page_sets/image_decoding_measurement.py')
-rw-r--r-- | tools/perf/page_sets/image_decoding_measurement.py | 5 |
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' |