Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(366)

Unified Diff: tools/perf/page_sets/tough_compositor_cases.py

Issue 321563003: Add Wait* API to ActionRunner to wrap over WaitAction. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing to head. Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/perf/page_sets/tough_canvas_cases.py ('k') | tools/perf/page_sets/tough_energy_cases.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/tough_compositor_cases.py
diff --git a/tools/perf/page_sets/tough_compositor_cases.py b/tools/perf/page_sets/tough_compositor_cases.py
index b86e317d6e7e626df8fbcca54c3a81e4c232ad67..ef26211296ebe0b462932ba2adab69e27cbea6fa 100644
--- a/tools/perf/page_sets/tough_compositor_cases.py
+++ b/tools/perf/page_sets/tough_compositor_cases.py
@@ -18,7 +18,7 @@ class ToughCompositorPage(page_module.Page):
def RunNavigateSteps(self, action_runner):
action_runner.NavigateToPage(self)
# TODO(epenner): Remove this wait (http://crbug.com/366933)
- action_runner.RunAction(WaitAction({'seconds': 5}))
+ action_runner.Wait(5)
class ToughCompositorScrollPage(ToughCompositorPage):
@@ -39,7 +39,7 @@ class ToughCompositorWaitPage(ToughCompositorPage):
def RunSmoothness(self, action_runner):
# We scroll back and forth a few times to reduce noise in the tests.
- action_runner.RunAction(WaitAction({'seconds': 8}))
+ action_runner.Wait(8)
class ToughCompositorCasesPageSet(page_set_module.PageSet):
« no previous file with comments | « tools/perf/page_sets/tough_canvas_cases.py ('k') | tools/perf/page_sets/tough_energy_cases.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698