| Index: content/browser/web_contents/web_contents_impl.cc
|
| ===================================================================
|
| --- content/browser/web_contents/web_contents_impl.cc (revision 157978)
|
| +++ content/browser/web_contents/web_contents_impl.cc (working copy)
|
| @@ -663,6 +663,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;
|
|
|