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 423a16a6d7ee0b846b478ddc1e7dc42eb281131c..f4c5a68cb218b02b354c2612ec7f3b18b4e89b63 100644 |
--- a/content/common/gpu/image_transport_surface.cc |
+++ b/content/common/gpu/image_transport_surface.cc |
@@ -141,12 +141,12 @@ void ImageTransportHelper::SetSwapInterval(gfx::GLContext* context) { |
// If Aero Glass is enabled, then the renderer will handle ratelimiting and |
// there's no tearing, so waiting for vsync is unnecessary. |
if (ui::win::IsAeroGlassEnabled()) { |
- context->SetSwapInterval(0); |
+ context->ForceSwapIntervalZero(true); |
return; |
} |
#endif |
if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kDisableGpuVsync)) |
- context->SetSwapInterval(0); |
+ context->ForceSwapIntervalZero(true); |
else |
context->SetSwapInterval(1); |
} |