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

Unified Diff: tools/perf/perf_tools/histogram_measurement.py

Issue 12389073: Collect tab timing information for use in telementry-based startup tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: formatting/compile fix Created 7 years, 9 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: tools/perf/perf_tools/histogram_measurement.py
diff --git a/tools/perf/perf_tools/histogram_measurement.py b/tools/perf/perf_tools/histogram_measurement.py
index 267329a0445e23a895e29ac6758880782d4a411d..0ef16aae2b135a1d527c319f2197fa5428bd907d 100644
--- a/tools/perf/perf_tools/histogram_measurement.py
+++ b/tools/perf/perf_tools/histogram_measurement.py
@@ -36,7 +36,7 @@ class HistogramMeasurement(object):
return 'getHistogram'
def _GetHistogramFromDomAutomation(self, tab):
- js = ('window.domAutomationController.%s ? '
- 'window.domAutomationController.%s("%s") : ""' %
+ js = ('window.statsCollectionExtension.%s ? '
+ 'window.statsCollectionExtension.%s("%s") : ""' %
(self.histogram_function, self.histogram_function, self.name))
return tab.EvaluateJavaScript(js)

Powered by Google App Engine
This is Rietveld 408576698