Index: content/browser/web_contents/web_contents_impl.cc |
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc |
index f5859489faa3d563b2f32caf80c4a74ab7021b00..3da31f597929e1902672665736cdf78f223a314c 100644 |
--- a/content/browser/web_contents/web_contents_impl.cc |
+++ b/content/browser/web_contents/web_contents_impl.cc |
@@ -495,6 +495,8 @@ WebPreferences WebContentsImpl::GetWebkitPrefs(RenderViewHost* rvh, |
command_line.HasSwitch(switches::kShowPaintRects); |
prefs.render_vsync_enabled = |
!command_line.HasSwitch(switches::kDisableGpuVsync); |
+ prefs.render_vsync_notification_enabled = |
+ command_line.HasSwitch(cc::switches::kEnableVsyncNotification); |
prefs.accelerated_compositing_enabled = |
GpuProcessHost::gpu_enabled() && |
!command_line.HasSwitch(switches::kDisableAcceleratedCompositing); |