Index: tools/telemetry/telemetry/page/actions/interact.py |
diff --git a/tools/telemetry/telemetry/page/actions/interact.py b/tools/telemetry/telemetry/page/actions/interact.py |
index 222c3089c1916a0071c3a03767b9b553bc6ea7a4..f3d9447a430c9da7791cb9b2325afe44a225a499 100644 |
--- a/tools/telemetry/telemetry/page/actions/interact.py |
+++ b/tools/telemetry/telemetry/page/actions/interact.py |
@@ -7,13 +7,11 @@ from telemetry.page.actions import page_action |
class InteractAction(page_action.PageAction): |
def __init__(self, attributes=None): |
super(InteractAction, self).__init__(attributes) |
+ self._SetTimelineMarkerBaseName('InteractAction::RunAction') |
def RunAction(self, page, tab, previous_action): |
tab.ExecuteJavaScript( |
- 'console.time("' + self.TimelineMarkerLabel() + '")') |
+ 'console.time("' + self._GetUniqueTimelineMarkerName() + '")') |
raw_input("Interacting... Press Enter to continue.") |
tab.ExecuteJavaScript( |
- 'console.timeEnd("' + self.TimelineMarkerLabel() + '")') |
- |
- def TimelineMarkerLabel(self): |
- return 'InteractAction::RunAction' |
+ 'console.timeEnd("' + self._GetUniqueTimelineMarkerName() + '")') |