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 25e5a056bf24496d3c4ac37d02c076423b77598e..39b3eda454af020b41b2ef88c1af7679c472c518 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.cc |
+++ b/content/browser/renderer_host/render_process_host_impl.cc |
@@ -52,6 +52,7 @@ |
#include "content/browser/fileapi/chrome_blob_storage_context.h" |
#include "content/browser/fileapi/fileapi_message_filter.h" |
#include "content/browser/geolocation/geolocation_dispatcher_host.h" |
+#include "content/browser/gpu/compositor_util.h" |
#include "content/browser/gpu/gpu_data_manager_impl.h" |
#include "content/browser/gpu/gpu_process_host.h" |
#include "content/browser/gpu/shader_disk_cache.h" |
@@ -817,6 +818,9 @@ void RenderProcessHostImpl::AppendRendererCommandLine( |
field_trial_states); |
} |
+ if (content::IsThreadedCompositingEnabled()) |
+ command_line->AppendSwitch(switches::kEnableThreadedCompositing); |
+ |
GetContentClient()->browser()->AppendExtraCommandLineSwitches( |
command_line, GetID()); |