Index: tools/perf/measurements/smoothness_controller.py |
diff --git a/tools/perf/measurements/smoothness_controller.py b/tools/perf/measurements/smoothness_controller.py |
index cfec8e19e12ddc413ae1f6bd82c8174921a77f17..835a0ff029d5a5ccc397228a50b3ac00c9406ffe 100644 |
--- a/tools/perf/measurements/smoothness_controller.py |
+++ b/tools/perf/measurements/smoothness_controller.py |
@@ -44,7 +44,7 @@ class SmoothnessController(object): |
# Start the smooth marker for all smooth actions. |
runner = action_runner.ActionRunner(tab) |
self._interaction = runner.BeginInteraction( |
- RUN_SMOOTH_ACTIONS, is_smooth=True) |
+ RUN_SMOOTH_ACTIONS) |
def Stop(self, tab): |
# End the smooth marker for all smooth actions. |
@@ -71,7 +71,7 @@ class SmoothnessController(object): |
'SmoothnessController cannot issue more than 1 %s record' % |
RUN_SMOOTH_ACTIONS) |
run_smooth_actions_record = r |
- elif r.is_smooth: |
+ else: |
smooth_records.append( |
smooth_gesture_util.GetAdjustedInteractionIfContainGesture( |
self._timeline_model, r)) |