Index: content/browser/web_contents/web_contents_impl.cc |
=================================================================== |
--- content/browser/web_contents/web_contents_impl.cc (revision 158825) |
+++ content/browser/web_contents/web_contents_impl.cc (working copy) |
@@ -673,6 +673,10 @@ |
prefs.number_of_cpu_cores = base::SysInfo::NumberOfProcessors(); |
+ prefs.apply_page_scale_factor_in_compositor = |
+ GpuProcessHost::gpu_enabled() && |
+ command_line.HasSwitch(switches::kEnablePinchInCompositor); |
+ |
content::GetContentClient()->browser()->OverrideWebkitPrefs(rvh, url, &prefs); |
return prefs; |