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

Unified Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 2418383002: sync compositor: Signal async frame on IO thread (Closed)
Patch Set: dcheng review Created 4 years, 2 months 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: content/browser/renderer_host/render_process_host_impl.cc
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
index a58c4fafc9604bb4acadf002a16235c964ff401c..1c4d872fa1226cff0f1c823cb6152af647c69b9d 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -1204,6 +1204,8 @@ void RenderProcessHostImpl::CreateMessageFilters() {
GetID(), storage_partition_impl_->GetServiceWorkerContext()));
#if defined(OS_ANDROID)
AddFilter(new ScreenOrientationMessageFilterAndroid());
+ synchronous_compositor_filter_ = new SynchronousCompositorObserver(GetID());
+ AddFilter(synchronous_compositor_filter_.get());
#endif
}

Powered by Google App Engine
This is Rietveld 408576698