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

Unified Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 1179653004: Remove non-impl-side painting as an option for blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removenoimplblink: . Created 5 years, 6 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/browser/gpu/compositor_util.cc ('k') | content/browser/renderer_host/render_view_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_process_host_impl.cc
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
index b96b4bf6ed446b70845edc5c3ba44342fe6f2f6b..8bf03f8fff7582ad1f85957b99122f9f00afadb5 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -1112,13 +1112,9 @@ static void AppendCompositorCommandLineFlags(base::CommandLine* command_line) {
if (IsDelegatedRendererEnabled())
command_line->AppendSwitch(switches::kEnableDelegatedRenderer);
- if (IsImplSidePaintingEnabled()) {
- command_line->AppendSwitchASCII(
- switches::kNumRasterThreads,
- base::IntToString(NumberOfRendererRasterThreads()));
- } else {
- command_line->AppendSwitch(switches::kDisableImplSidePainting);
- }
+ command_line->AppendSwitchASCII(
+ switches::kNumRasterThreads,
+ base::IntToString(NumberOfRendererRasterThreads()));
if (IsGpuRasterizationEnabled())
command_line->AppendSwitch(switches::kEnableGpuRasterization);
@@ -1261,7 +1257,6 @@ void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer(
switches::kEnableBrowserSideNavigation,
switches::kEnableCompositorAnimationTimelines,
switches::kEnableCredentialManagerAPI,
- switches::kEnableDeferredImageDecoding,
switches::kEnableDelayAgnosticAec,
switches::kEnableDisplayList2dCanvas,
switches::kEnableDistanceFieldText,
@@ -1414,11 +1409,6 @@ void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer(
renderer_cmd->AppendSwitch(switches::kDisableDatabases);
}
- // Enforce the extra command line flags for impl-side painting.
- if (IsImplSidePaintingEnabled() &&
- !browser_cmd.HasSwitch(switches::kEnableDeferredImageDecoding))
- renderer_cmd->AppendSwitch(switches::kEnableDeferredImageDecoding);
-
// Add kWaitForDebugger to let renderer process wait for a debugger.
if (browser_cmd.HasSwitch(switches::kWaitForDebuggerChildren)) {
// Look to pass-on the kWaitForDebugger flag.
« no previous file with comments | « content/browser/gpu/compositor_util.cc ('k') | content/browser/renderer_host/render_view_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698