Index: content/common/gpu/image_transport_surface.cc |
diff --git a/content/common/gpu/image_transport_surface.cc b/content/common/gpu/image_transport_surface.cc |
index f4c5a68cb218b02b354c2612ec7f3b18b4e89b63..f0665f6696a0a6b2efc5922d945c260f16797d1f 100644 |
--- a/content/common/gpu/image_transport_surface.cc |
+++ b/content/common/gpu/image_transport_surface.cc |
@@ -145,7 +145,8 @@ void ImageTransportHelper::SetSwapInterval(gfx::GLContext* context) { |
return; |
} |
#endif |
- if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kDisableGpuVsync)) |
+ if (base::CommandLine::ForCurrentProcess()->HasSwitch( |
+ switches::kDisableGpuVsync)) |
context->ForceSwapIntervalZero(true); |
else |
context->SetSwapInterval(1); |