Index: ui/compositor/compositor.cc |
diff --git a/ui/compositor/compositor.cc b/ui/compositor/compositor.cc |
index 862bc1b92a5dac1b389f279c3dbf0317ad1ca82a..45357f61e68f9f3403689d0def509908b934fde6 100644 |
--- a/ui/compositor/compositor.cc |
+++ b/ui/compositor/compositor.cc |
@@ -87,16 +87,6 @@ Compositor::Compositor(const cc::FrameSinkId& frame_sink_id, |
context_factory_->DoesCreateTestContexts() ? kTestRefreshRate |
: kDefaultRefreshRate; |
settings.main_frame_before_activation_enabled = false; |
- if (command_line->HasSwitch(switches::kDisableGpuVsync)) { |
- std::string display_vsync_string = |
- command_line->GetSwitchValueASCII(switches::kDisableGpuVsync); |
- // See comments in gl_switches about this flag. The browser compositor |
- // is only unthrottled when "gpu" or no switch value is passed, as it |
- // is driven directly by the display compositor. |
- if (display_vsync_string != "beginframe") { |
- settings.renderer_settings.disable_display_vsync = true; |
- } |
- } |
settings.renderer_settings.partial_swap_enabled = |
!command_line->HasSwitch(switches::kUIDisablePartialSwap); |
#if defined(OS_WIN) |