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 9fd13f2c8b99be34852e68690276ee4419deb68e..eec4334001e376eb3bb676972f99fb695f30fbbd 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.cc |
+++ b/content/browser/renderer_host/render_process_host_impl.cc |
@@ -956,13 +956,16 @@ StoragePartition* RenderProcessHostImpl::GetStoragePartition() const { |
} |
static void AppendGpuCommandLineFlags(CommandLine* command_line) { |
- if (content::IsThreadedCompositingEnabled()) |
+ if (IsThreadedCompositingEnabled()) |
command_line->AppendSwitch(switches::kEnableThreadedCompositing); |
- if (content::IsDelegatedRendererEnabled()) |
+ if (IsForceCompositingModeEnabled()) |
+ command_line->AppendSwitch(switches::kForceCompositingMode); |
+ |
+ if (IsDelegatedRendererEnabled()) |
command_line->AppendSwitch(switches::kEnableDelegatedRenderer); |
- if (content::IsImplSidePaintingEnabled()) |
+ if (IsImplSidePaintingEnabled()) |
command_line->AppendSwitch(switches::kEnableImplSidePainting); |
// Appending disable-gpu-feature switches due to software rendering list. |
@@ -1028,7 +1031,6 @@ void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer( |
switches::kDisableCompositingForFixedPosition, |
switches::kDisableCompositingForTransition, |
switches::kDisableDatabases, |
- switches::kDisableDelegatedRenderer, |
switches::kDisableDesktopNotifications, |
switches::kDisableDirectNPAPIRequests, |
switches::kDisableFastTextAutosizing, |
@@ -1040,7 +1042,6 @@ void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer( |
switches::kDisableGpuVsync, |
switches::kDisableLowResTiling, |
switches::kDisableHistogramCustomizer, |
- switches::kDisableImplSidePainting, |
switches::kDisableLCDText, |
switches::kDisableLayerSquashing, |
switches::kDisableLocalStorage, |
@@ -1054,7 +1055,6 @@ void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer( |
switches::kDisableSessionStorage, |
switches::kDisableSharedWorkers, |
switches::kDisableSpeechInput, |
- switches::kDisableThreadedCompositing, |
switches::kDisableTouchAdjustment, |
switches::kDisableTouchDragDrop, |
switches::kDisableTouchEditing, |
@@ -1072,7 +1072,6 @@ void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer( |
switches::kEnableCompositingForFixedPosition, |
switches::kEnableCompositingForTransition, |
switches::kEnableDeferredImageDecoding, |
- switches::kEnableDelegatedRenderer, |
switches::kEnableEncryptedMedia, |
switches::kEnableExperimentalCanvasFeatures, |
switches::kEnableExperimentalWebPlatformFeatures, |
@@ -1085,7 +1084,6 @@ void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer( |
switches::kEnableHighDpiCompositingForFixedPosition, |
switches::kEnableHTMLImports, |
switches::kEnableLowResTiling, |
- switches::kEnableImplSidePainting, |
switches::kEnableInbandTextTracks, |
switches::kEnableLCDText, |
switches::kEnableLayerSquashing, |
@@ -1105,7 +1103,6 @@ void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer( |
switches::kEnableStatsTable, |
switches::kEnableStrictSiteIsolation, |
switches::kEnableTargetedStyleRecalc, |
- switches::kEnableThreadedCompositing, |
switches::kEnableUniversalAcceleratedOverflowScroll, |
switches::kEnableTouchDragDrop, |
switches::kEnableTouchEditing, |