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

Unified Diff: tools/perf/page_sets/alexa1-10000.py

Issue 1052493004: CL for perf tryjob on mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 | « no previous file | tools/perf/page_sets/key_desktop_move_cases.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/alexa1-10000.py
diff --git a/tools/perf/page_sets/alexa1-10000.py b/tools/perf/page_sets/alexa1-10000.py
index 0f890c655db0f01c787a5cc381d5ad860da36e5f..db72102b578f9ef46383c5e7c58b77210ab9f3bd 100644
--- a/tools/perf/page_sets/alexa1-10000.py
+++ b/tools/perf/page_sets/alexa1-10000.py
@@ -22,10 +22,8 @@ class Alexa1To10000Page(Page):
super(Alexa1To10000Page, self).__init__(url=url, page_set=page_set)
def RunPageInteractions(self, action_runner):
- interaction = action_runner.BeginGestureInteraction(
- 'ScrollAction')
- action_runner.ScrollPage()
- interaction.End()
+ with action_runner.CreateGestureInteraction('ScrollAction'):
+ action_runner.ScrollPage()
class Alexa1To10000PageSet(PageSet):
« no previous file with comments | « no previous file | tools/perf/page_sets/key_desktop_move_cases.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698