| Index: tools/telemetry/telemetry/page/actions/scroll.py
|
| diff --git a/tools/telemetry/telemetry/page/actions/scroll.py b/tools/telemetry/telemetry/page/actions/scroll.py
|
| index eddc535363085274728a506c7f545844c8e971c0..1d7aeb83a65a85f29fbe322ba4c8c2919b3fc433 100644
|
| --- a/tools/telemetry/telemetry/page/actions/scroll.py
|
| +++ b/tools/telemetry/telemetry/page/actions/scroll.py
|
| @@ -10,7 +10,7 @@ class ScrollAction(GestureAction):
|
| def __init__(self, attributes=None):
|
| super(ScrollAction, self).__init__(attributes)
|
|
|
| - def WillRunAction(self, page, tab):
|
| + def WillRunAction(self, tab):
|
| for js_file in ['gesture_common.js', 'scroll.js']:
|
| with open(os.path.join(os.path.dirname(__file__), js_file)) as f:
|
| js = f.read()
|
| @@ -43,7 +43,7 @@ class ScrollAction(GestureAction):
|
| window.__scrollAction = new __ScrollAction(%s, %s);"""
|
| % (done_callback, distance_func))
|
|
|
| - def RunGesture(self, page, tab):
|
| + def RunGesture(self, tab):
|
| # scrollable_element_function is a function that passes the scrollable
|
| # element on the page to a callback. For example:
|
| # function (callback) {
|
|
|