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

Unified Diff: tools/perf/measurements/blink_style.py

Issue 1896113003: [tools/perf] Update users of action_runner to directly referencing it from tab.action_runner field (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « tools/perf/benchmarks/service_worker.py ('k') | tools/perf/measurements/oilpan_gc_times.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/measurements/blink_style.py
diff --git a/tools/perf/measurements/blink_style.py b/tools/perf/measurements/blink_style.py
index 576c254feb5142a44fbba6d19ba71bb2ecbdb20b..886579d13e73a48f1b03aff07befea9f628d04e4 100644
--- a/tools/perf/measurements/blink_style.py
+++ b/tools/perf/measurements/blink_style.py
@@ -6,7 +6,6 @@ from collections import defaultdict
from itertools import starmap
from telemetry.core import exceptions
from telemetry.core import util
-from telemetry.page import action_runner
from telemetry.page import page_test
from telemetry.value import scalar
@@ -30,8 +29,7 @@ class BlinkStyle(page_test.PageTest):
self._controller.CleanUp(platform)
def ValidateAndMeasurePage(self, page, tab, results):
- runner = action_runner.ActionRunner(tab)
- with runner.CreateInteraction('wait-for-quiescence'):
+ with tab.action_runner.CreateInteraction('wait-for-quiescence'):
tab.ExecuteJavaScript('console.time("");')
try:
util.WaitFor(tab.HasReachedQuiescence, 15)
« no previous file with comments | « tools/perf/benchmarks/service_worker.py ('k') | tools/perf/measurements/oilpan_gc_times.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698