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

Unified Diff: tools/perf/metrics/media.py

Issue 23456012: [Telemetry] Improve logging on media measurement tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix buffering_time sec to ms bug Created 7 years, 3 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/metrics/media.js ('k') | tools/perf/page_sets/tough_video_cases/video.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/metrics/media.py
diff --git a/tools/perf/metrics/media.py b/tools/perf/metrics/media.py
index 628652633b403987ccfeece1cbd230a294356428..85ed77f78c142671f5b4be2916ad47c098a18c45 100644
--- a/tools/perf/metrics/media.py
+++ b/tools/perf/metrics/media.py
@@ -25,8 +25,8 @@ class MediaMetric(Metric):
def Start(self, page, tab):
"""Create the media metrics for all media elements in the document."""
- if hasattr(page.page_set, 'skip_basic_metrics'):
- self._skip_basic_metrics = page.page_set.skip_basic_metrics
+ if hasattr(page, 'skip_basic_metrics'):
+ self._skip_basic_metrics = page.skip_basic_metrics
tab.ExecuteJavaScript('window.__createMediaMetricsForDocument()')
def Stop(self, page, tab):
@@ -74,4 +74,3 @@ class MediaMetric(Metric):
AddOneResult('avg_loop_time', 'ms')
AddOneResult('seek', 'ms')
-
« no previous file with comments | « tools/perf/metrics/media.js ('k') | tools/perf/page_sets/tough_video_cases/video.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698