Index: tools/perf/page_sets/tough_scheduling_cases.py |
diff --git a/tools/perf/page_sets/tough_scheduling_cases.py b/tools/perf/page_sets/tough_scheduling_cases.py |
index d814d56b2785ab61111aa31ae3a5315c020e8ab0..89b3e92fab039c5d4623eae93b104e2ab063e78f 100644 |
--- a/tools/perf/page_sets/tough_scheduling_cases.py |
+++ b/tools/perf/page_sets/tough_scheduling_cases.py |
@@ -338,7 +338,10 @@ class EmptyTouchHandlerPage(ToughSchedulingCasesPage): |
def RunSmoothness(self, action_runner): |
if self.bounce: |
- action_runner.RunAction(ScrollBounceAction()) |
+ interaction = action_runner.BeginGestureInteraction( |
+ 'ScrollBounceAction', is_smooth=True) |
+ action_runner.ScrollBouncePage() |
+ interaction.End() |
else: |
interaction = action_runner.BeginGestureInteraction( |
'ScrollAction', is_smooth=True) |
@@ -359,7 +362,10 @@ class SynchronizedScrollOffsetPage(ToughSchedulingCasesPage): |
page_set=page_set) |
def RunSmoothness(self, action_runner): |
- action_runner.RunAction(ScrollBounceAction()) |
+ interaction = action_runner.BeginGestureInteraction( |
+ 'ScrollBounceAction', is_smooth=True) |
+ action_runner.ScrollBouncePage() |
+ interaction.End() |
class ToughSchedulingCasesPageSet(page_set_module.PageSet): |