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)) { |