| Index: tools/perf/measurements/polymer_load.py
|
| diff --git a/tools/perf/measurements/polymer_load.py b/tools/perf/measurements/polymer_load.py
|
| index a92576a1582a4a7bfb52e7ac0e42ed6a12fae92a..b8b52c206dd252b628b7b14827b4bc52ab5fbe64 100644
|
| --- a/tools/perf/measurements/polymer_load.py
|
| +++ b/tools/perf/measurements/polymer_load.py
|
| @@ -2,7 +2,6 @@
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| -from telemetry.page.actions.all_page_actions import WaitAction
|
| from telemetry.page import page
|
| from telemetry.page import page_measurement
|
|
|
| @@ -25,10 +24,7 @@ class PageForPolymerLoad(page.Page):
|
|
|
| def RunNavigateSteps(self, action_runner):
|
| action_runner.NavigateToPage(self)
|
| - action_runner.RunAction(WaitAction(
|
| - {
|
| - 'javascript': "window.__polymer_ready"
|
| - }))
|
| + action_runner.WaitForJavaScriptCondition('window.__polymer_ready')
|
|
|
|
|
| class PolymerLoadMeasurement(page_measurement.PageMeasurement):
|
|
|