Index: tools/telemetry/telemetry/page/actions/pinch.py |
diff --git a/tools/telemetry/telemetry/page/actions/pinch.py b/tools/telemetry/telemetry/page/actions/pinch.py |
index b7085c5622b710f7ece677882041446e3775bc76..5a1f7e4d7418b8954e20c6486468a91b9247e3fd 100644 |
--- a/tools/telemetry/telemetry/page/actions/pinch.py |
+++ b/tools/telemetry/telemetry/page/actions/pinch.py |
@@ -10,7 +10,7 @@ class PinchAction(GestureAction): |
def __init__(self, attributes=None): |
super(PinchAction, self).__init__(attributes) |
- def WillRunAction(self, page, tab): |
+ def WillRunAction(self, tab): |
for js_file in ['gesture_common.js', 'pinch.js']: |
with open(os.path.join(os.path.dirname(__file__), js_file)) as f: |
js = f.read() |
@@ -36,7 +36,7 @@ class PinchAction(GestureAction): |
window.__pinchAction = new __PinchAction(%s);""" |
% done_callback) |
- def RunGesture(self, page, tab): |
+ def RunGesture(self, tab): |
left_anchor_percentage = getattr(self, 'left_anchor_percentage', 0.5) |
top_anchor_percentage = getattr(self, 'top_anchor_percentage', 0.5) |
zoom_in = getattr(self, 'zoom_in', True) |