Index: chrome/browser/tab_contents/render_view_host_delegate_helper.cc |
diff --git a/chrome/browser/tab_contents/render_view_host_delegate_helper.cc b/chrome/browser/tab_contents/render_view_host_delegate_helper.cc |
index 350be6523dd14c70146bab8c95cbc7adff097ea1..396ea4cf8242fbbbfcbece16d9a1fc8125bfc775 100644 |
--- a/chrome/browser/tab_contents/render_view_host_delegate_helper.cc |
+++ b/chrome/browser/tab_contents/render_view_host_delegate_helper.cc |
@@ -441,6 +441,8 @@ WebPreferences RenderViewHostDelegateHelper::GetWebkitPrefs( |
web_prefs.accelerated_compositing_enabled = |
GpuProcessHost::gpu_enabled() && |
!command_line.HasSwitch(switches::kDisableAcceleratedCompositing); |
+ web_prefs.threaded_compositing_enabled = |
+ command_line.HasSwitch(switches::kEnableThreadedCompositing); |
web_prefs.force_compositing_mode = |
command_line.HasSwitch(switches::kForceCompositingMode); |
web_prefs.allow_webui_compositing = |