Index: tools/telemetry/telemetry/page/actions/scroll_bounce.py |
diff --git a/tools/telemetry/telemetry/page/actions/scroll_bounce.py b/tools/telemetry/telemetry/page/actions/scroll_bounce.py |
index 755a1f343174ac61c0e71b3128f7ae018fe5a6e4..6bdd25f212fff3823aca1949b311f277fd16301f 100644 |
--- a/tools/telemetry/telemetry/page/actions/scroll_bounce.py |
+++ b/tools/telemetry/telemetry/page/actions/scroll_bounce.py |
@@ -10,7 +10,7 @@ class ScrollBounceAction(GestureAction): |
def __init__(self, attributes=None): |
super(ScrollBounceAction, self).__init__(attributes) |
- def WillRunAction(self, page, tab): |
+ def WillRunAction(self, tab): |
for js_file in ['gesture_common.js', 'scroll_bounce.js']: |
with open(os.path.join(os.path.dirname(__file__), js_file)) as f: |
js = f.read() |
@@ -39,7 +39,7 @@ class ScrollBounceAction(GestureAction): |
window.__scrollBounceAction = new __ScrollBounceAction(%s);""" |
% (done_callback)) |
- def RunGesture(self, page, tab): |
+ def RunGesture(self, tab): |
left_start_percentage = 0.5 |
top_start_percentage = 0.5 |
direction = 'down' |