Index: content/browser/web_contents/web_contents_impl.cc |
=================================================================== |
--- content/browser/web_contents/web_contents_impl.cc (revision 160422) |
+++ content/browser/web_contents/web_contents_impl.cc (working copy) |
@@ -680,6 +680,9 @@ |
prefs.number_of_cpu_cores = base::SysInfo::NumberOfProcessors(); |
+ prefs.apply_page_scale_factor_in_compositor = |
+ command_line.HasSwitch(switches::kEnablePinchInCompositor); |
+ |
content::GetContentClient()->browser()->OverrideWebkitPrefs(rvh, url, &prefs); |
// Disable compositing in guests until we have compositing path implemented |