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

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

Issue 24064002: Move clear_system_cache_for_browser_and_profile_on_start to BrowserOptions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 | « no previous file | tools/telemetry/telemetry/core/browser.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/measurements/startup.py
diff --git a/tools/perf/measurements/startup.py b/tools/perf/measurements/startup.py
index 26b4a29d32984dc8e75074c78def669c2bd4e448..7c04845d7cebc71c7509258c70cdc220eb2e2bf0 100644
--- a/tools/perf/measurements/startup.py
+++ b/tools/perf/measurements/startup.py
@@ -36,7 +36,8 @@ class Startup(page_measurement.PageMeasurement):
# assert options.warm != options.cold, \
# "You must specify either --warm or --cold"
if options.cold:
- options.clear_sytem_cache_for_browser_and_profile_on_start = True
+ browser_options = options.browser_options
+ browser_options.clear_sytem_cache_for_browser_and_profile_on_start = True
else:
self.discard_first_result = True
« no previous file with comments | « no previous file | tools/telemetry/telemetry/core/browser.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698