Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(183)

Unified Diff: ui/compositor/compositor.cc

Issue 2511273002: Decouple BrowserCompositorOutputSurface from BeginFrameSource. (Closed)
Patch Set: Another attempt to fix the crash Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/compositor/compositor.cc
diff --git a/ui/compositor/compositor.cc b/ui/compositor/compositor.cc
index 63f72bc6178b815d9008fb0daff580c3ae1db9fd..1ab4782b50209d873f5bd3d34c422cf32ed59885 100644
--- a/ui/compositor/compositor.cc
+++ b/ui/compositor/compositor.cc
@@ -370,6 +370,8 @@ void Compositor::SetAuthoritativeVSyncInterval(
void Compositor::SetDisplayVSyncParameters(base::TimeTicks timebase,
base::TimeDelta interval) {
+ // TODO: This shouldn't be needed anymore because the underlying
+ // BeginFrameSource will also be updated via VSync Manager call below.
context_factory_->SetDisplayVSyncParameters(this, timebase, interval);
vsync_manager_->UpdateVSyncParameters(timebase, interval);
}

Powered by Google App Engine
This is Rietveld 408576698