Index: content/browser/web_contents/web_contents_impl.cc |
=================================================================== |
--- content/browser/web_contents/web_contents_impl.cc (revision 159486) |
+++ 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() && |
jamesr
2012/10/03 19:48:57
this check seems unnecessary
Jeff Timanus
2012/10/03 20:56:04
I followed the model of all of the other preferenc
|
+ command_line.HasSwitch(switches::kEnablePinchInCompositor); |
+ |
content::GetContentClient()->browser()->OverrideWebkitPrefs(rvh, url, &prefs); |
return prefs; |