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

Unified Diff: content/shell/app/shell_main_delegate.cc

Issue 22799014: Add --stable-release-mode to content_shell (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed Jochen's nit 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
« no previous file with comments | « no previous file | content/shell/browser/shell_content_browser_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/app/shell_main_delegate.cc
diff --git a/content/shell/app/shell_main_delegate.cc b/content/shell/app/shell_main_delegate.cc
index 283f2d318d8ce758fdf419a5f7395cf68a0c338c..8e60a32779e17055640bec1c7218b49984781f55 100644
--- a/content/shell/app/shell_main_delegate.cc
+++ b/content/shell/app/shell_main_delegate.cc
@@ -125,8 +125,6 @@ bool ShellMainDelegate::BasicStartupComplete(int* exit_code) {
#endif
command_line.AppendSwitch(switches::kSkipGpuDataLoading);
command_line.AppendSwitch(switches::kDisableGpuVsync);
- command_line.AppendSwitch(switches::kEnableExperimentalWebPlatformFeatures);
- command_line.AppendSwitch(switches::kEnableCssShaders);
command_line.AppendSwitchASCII(switches::kTouchEvents,
switches::kTouchEventsEnabled);
command_line.AppendSwitch(switches::kEnableGestureTapHighlight);
@@ -139,6 +137,12 @@ bool ShellMainDelegate::BasicStartupComplete(int* exit_code) {
command_line.AppendSwitch(cc::switches::kDisableImplSidePainting);
#endif
+ if (!command_line.HasSwitch(switches::kStableReleaseMode)) {
+ command_line.AppendSwitch(
+ switches::kEnableExperimentalWebPlatformFeatures);
+ command_line.AppendSwitch(switches::kEnableCssShaders);
+ }
+
if (!command_line.HasSwitch(switches::kEnableThreadedCompositing))
command_line.AppendSwitch(cc::switches::kDisableThreadedAnimation);
« no previous file with comments | « no previous file | content/shell/browser/shell_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698