| 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 bb11dd8edbcdfc9f51dbf15aa2233a6c2f93e137..75be58d4e685385c090d619c57fcc106cc28ea9a 100644
|
| --- a/content/common/gpu/image_transport_surface.cc
|
| +++ b/content/common/gpu/image_transport_surface.cc
|
| @@ -18,10 +18,6 @@
|
| #include "ui/gl/gl_implementation.h"
|
| #include "ui/gl/gl_switches.h"
|
|
|
| -#if defined(OS_WIN)
|
| -#include "ui/base/win/shell.h"
|
| -#endif
|
| -
|
| namespace content {
|
|
|
| ImageTransportSurface::ImageTransportSurface() {}
|
| @@ -137,14 +133,6 @@ bool ImageTransportHelper::MakeCurrent() {
|
| }
|
|
|
| void ImageTransportHelper::SetSwapInterval(gfx::GLContext* context) {
|
| -#if defined(OS_WIN)
|
| - // 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->ForceSwapIntervalZero(true);
|
| - return;
|
| - }
|
| -#endif
|
| if (base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| switches::kDisableGpuVsync))
|
| context->ForceSwapIntervalZero(true);
|
|
|