Index: ui/compositor/compositor.cc |
diff --git a/ui/compositor/compositor.cc b/ui/compositor/compositor.cc |
index 51b8e669f1eda0fe79601e470291190288c4adf9..190a949b3fd27e85ee5f4aea4ec4e430111cd742 100644 |
--- a/ui/compositor/compositor.cc |
+++ b/ui/compositor/compositor.cc |
@@ -100,8 +100,10 @@ Compositor::Compositor(gfx::AcceleratedWidget widget, |
settings.main_frame_before_activation_enabled = false; |
settings.throttle_frame_production = |
!command_line->HasSwitch(switches::kDisableGpuVsync); |
+#if !defined(OS_MACOSX) |
settings.partial_swap_enabled = |
!command_line->HasSwitch(cc::switches::kUIDisablePartialSwap); |
+#endif |
#if defined(OS_CHROMEOS) |
settings.per_tile_painting_enabled = true; |
#endif |