Index: trunk/src/tools/perf/perf_tools/histogram_metric.py |
=================================================================== |
--- trunk/src/tools/perf/perf_tools/histogram_metric.py (revision 202661) |
+++ trunk/src/tools/perf/perf_tools/histogram_metric.py (working copy) |
@@ -36,7 +36,7 @@ |
return 'getHistogram' |
def _GetHistogramFromDomAutomation(self, tab): |
- js = ('window.statsCollectionController.%s ? ' |
- 'window.statsCollectionController.%s("%s") : ""' % |
+ js = ('window.domAutomationController.%s ? ' |
+ 'window.domAutomationController.%s("%s") : ""' % |
(self.histogram_function, self.histogram_function, self.name)) |
return tab.EvaluateJavaScript(js) |