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

Unified Diff: tools/telemetry/telemetry/page/page_runner.py

Issue 22909011: Added support for GPU-based expectations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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/telemetry/telemetry/page/page_runner.py
diff --git a/tools/telemetry/telemetry/page/page_runner.py b/tools/telemetry/telemetry/page/page_runner.py
index fdc2d48fc8c875ac91dffeb6f5c55c5935b225fc..cc3b38db549f3e432f9b08132d42b909a6ac2a8e 100644
--- a/tools/telemetry/telemetry/page/page_runner.py
+++ b/tools/telemetry/telemetry/page/page_runner.py
@@ -183,8 +183,7 @@ def _PrepareAndRunPage(test, page_set, expectations, options, page,
if options.profiler:
state.StartProfiling(page, options)
- expectation = expectations.GetExpectationForPage(
- state.browser.platform, page)
+ expectation = expectations.GetExpectationForPage(state, page)
Ken Russell (switch to Gerrit) 2013/08/15 19:25:28 Passing the unspecified "state" object is sloppy.
try:
_RunPage(test, page, state, expectation,

Powered by Google App Engine
This is Rietveld 408576698