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

Unified Diff: tools/perf/page_sets/top_desktop_sites_2012Q3.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 | « tools/perf/page_sets/key_desktop_move_cases.py ('k') | tools/perf/page_sets/tough_scrolling_cases.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/top_desktop_sites_2012Q3.py
diff --git a/tools/perf/page_sets/top_desktop_sites_2012Q3.py b/tools/perf/page_sets/top_desktop_sites_2012Q3.py
index 65d09427291d49a4702b23067a58f19421ee8847..667d8255e8489c3baee1bccd7a4cb82e9db21cdc 100644
--- a/tools/perf/page_sets/top_desktop_sites_2012Q3.py
+++ b/tools/perf/page_sets/top_desktop_sites_2012Q3.py
@@ -255,10 +255,8 @@ class Top2012Q3Page(page.Page):
self.archive_data_file = 'data/2012Q3.json'
def RunPageInteractions(self, action_runner):
- interaction = action_runner.BeginGestureInteraction(
- 'ScrollAction')
- action_runner.ScrollPage()
- interaction.End()
+ with action_runner.CreateGestureInteraction('ScrollAction'):
+ action_runner.ScrollPage()
class Top2012Q3PageSet(page_set.PageSet):
« no previous file with comments | « tools/perf/page_sets/key_desktop_move_cases.py ('k') | tools/perf/page_sets/tough_scrolling_cases.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698