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

Unified Diff: content/browser/gpu/compositor_util.cc

Issue 830273003: Remove impl-side-painting from about:flags (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: impl-flags: remove-content-shell-stuff 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 | « chrome/common/crash_keys.cc ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gpu/compositor_util.cc
diff --git a/content/browser/gpu/compositor_util.cc b/content/browser/gpu/compositor_util.cc
index 2644a2078acae92928924f86524e52fe890bd76a..7f04e33b80cecf7caa732795d8ff291e559dfb60 100644
--- a/content/browser/gpu/compositor_util.cc
+++ b/content/browser/gpu/compositor_util.cc
@@ -196,12 +196,8 @@ bool IsDelegatedRendererEnabled() {
bool IsImplSidePaintingEnabled() {
const base::CommandLine& command_line =
*base::CommandLine::ForCurrentProcess();
-
- if (command_line.HasSwitch(switches::kEnableImplSidePainting))
- return true;
- else if (command_line.HasSwitch(switches::kDisableImplSidePainting))
+ if (command_line.HasSwitch(switches::kDisableImplSidePainting))
return false;
-
return true;
}
« no previous file with comments | « chrome/common/crash_keys.cc ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698