Index: content/browser/renderer_host/render_process_host_impl.cc |
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc |
index 12b37ceeb2edc0e3c3a03fab49f7704ba37b4492..e38c7241508ff7a139b016eff799064d71495d6a 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.cc |
+++ b/content/browser/renderer_host/render_process_host_impl.cc |
@@ -940,6 +940,9 @@ StoragePartition* RenderProcessHostImpl::GetStoragePartition() const { |
} |
static void AppendGpuCommandLineFlags(CommandLine* command_line) { |
+ if (IsPinchVirtualViewportEnabled()) |
bokan
2014/04/25 22:07:25
Not sure if this qualifies as a GPU command line (
piman
2014/04/25 22:44:40
Maybe we can rename as AppendCompositorCommandLine
bokan
2014/04/25 23:03:46
Done.
|
+ command_line->AppendSwitch(cc::switches::kEnablePinchVirtualViewport); |
+ |
if (IsThreadedCompositingEnabled()) |
command_line->AppendSwitch(switches::kEnableThreadedCompositing); |
@@ -1135,7 +1138,6 @@ void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer( |
cc::switches::kDisableMainFrameBeforeDraw, |
cc::switches::kDisableThreadedAnimation, |
cc::switches::kEnableGpuBenchmarking, |
- cc::switches::kEnablePinchVirtualViewport, |
cc::switches::kEnableMainFrameBeforeActivation, |
cc::switches::kEnableTopControlsPositionCalculation, |
cc::switches::kMaxTilesForInterestArea, |