| Index: tools/telemetry/telemetry/page/actions/loop.py
|
| diff --git a/tools/telemetry/telemetry/page/actions/loop.py b/tools/telemetry/telemetry/page/actions/loop.py
|
| index 152f7a159d9d6901b6ca38b5668a06e94053f8cb..a83827f0d444503c1936b369cae85bdd2bcfcb2d 100644
|
| --- a/tools/telemetry/telemetry/page/actions/loop.py
|
| +++ b/tools/telemetry/telemetry/page/actions/loop.py
|
| @@ -20,12 +20,12 @@ from telemetry.page.actions import page_action
|
|
|
|
|
| class LoopAction(media_action.MediaAction):
|
| - def WillRunAction(self, page, tab):
|
| + def WillRunAction(self, tab):
|
| """Load the media metrics JS code prior to running the action."""
|
| - super(LoopAction, self).WillRunAction(page, tab)
|
| + super(LoopAction, self).WillRunAction(tab)
|
| self.LoadJS(tab, 'loop.js')
|
|
|
| - def RunAction(self, page, tab):
|
| + def RunAction(self, tab):
|
| try:
|
| assert hasattr(self, 'loop_count') and self.loop_count > 0
|
| selector = self.selector if hasattr(self, 'selector') else ''
|
|
|