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

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

Issue 846213003: Revert "Remove impl-side-painting from about:flags" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 | « content/renderer/render_thread_impl_browsertest.cc ('k') | content/shell/common/shell_switches.h » ('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 7fe7ae4524b2ae8927e3c26685edfd3b7e756fc3..a4ec66434982feb60279ca7feec9f4b1c3baa364 100644
--- a/content/shell/app/shell_main_delegate.cc
+++ b/content/shell/app/shell_main_delegate.cc
@@ -166,13 +166,11 @@ bool ShellMainDelegate::BasicStartupComplete(int* exit_code) {
if (!command_line.HasSwitch(switches::kEnableThreadedCompositing)) {
command_line.AppendSwitch(switches::kDisableThreadedCompositing);
command_line.AppendSwitch(cc::switches::kDisableThreadedAnimation);
+ command_line.AppendSwitch(switches::kDisableImplSidePainting);
// Text blobs are normally disabled when kDisableImplSidePainting is
// present to ensure correct LCD behavior, but for layout tests we want
// them on because LCD is always suppressed.
command_line.AppendSwitch(switches::kForceTextBlobs);
-
- if (!command_line.HasSwitch(switches::kEnableImplSidePainting))
- command_line.AppendSwitch(switches::kDisableImplSidePainting);
}
if (!command_line.HasSwitch(switches::kEnableDisplayList2dCanvas)) {
« no previous file with comments | « content/renderer/render_thread_impl_browsertest.cc ('k') | content/shell/common/shell_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698