Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(364)

Unified Diff: telemetry/telemetry/internal/actions/seek.py

Issue 2162963002: [polymer] Merge of master into polymer10-migration (Closed) Base URL: git@github.com:catapult-project/catapult.git@polymer10-migration
Patch Set: Merge polymer10-migration int polymer10-merge Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: telemetry/telemetry/internal/actions/seek.py
diff --git a/telemetry/telemetry/internal/actions/seek.py b/telemetry/telemetry/internal/actions/seek.py
index a89dfef225bba825dc611ef1276f729f85329e29..72708147af981e980b48d691dd225d8515c9039d 100644
--- a/telemetry/telemetry/internal/actions/seek.py
+++ b/telemetry/telemetry/internal/actions/seek.py
@@ -20,6 +20,7 @@ Action parameters are:
from telemetry.core import exceptions
from telemetry.internal.actions import media_action
from telemetry.internal.actions import page_action
+from telemetry.internal.actions import utils
class SeekAction(media_action.MediaAction):
@@ -35,7 +36,7 @@ class SeekAction(media_action.MediaAction):
def WillRunAction(self, tab):
"""Load the media metrics JS code prior to running the action."""
super(SeekAction, self).WillRunAction(tab)
- self.LoadJS(tab, 'seek.js')
+ utils.InjectJavaScript(tab, 'seek.js')
def RunAction(self, tab):
try:
« no previous file with comments | « telemetry/telemetry/internal/actions/scroll_unittest.py ('k') | telemetry/telemetry/internal/actions/swipe.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698