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

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

Issue 2612083002: DirectCompositorFrameSink Uses CompositorFrameSinkSupport (Closed)
Patch Set: Addressed comments Created 3 years, 11 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_widget_host_view_android.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_android.cc b/content/browser/renderer_host/render_widget_host_view_android.cc
index 2ee46f4f425a642b7e6f5a7263b594481261f35d..23b5d43f1dc1c89f25ac343389cf86f9f412dcd1 100644
--- a/content/browser/renderer_host/render_widget_host_view_android.cc
+++ b/content/browser/renderer_host/render_widget_host_view_android.cc
@@ -1489,8 +1489,8 @@ void RenderWidgetHostViewAndroid::StartObservingRootWindow() {
ui::WindowAndroidCompositor* compositor =
view_.GetWindowAndroid()->GetCompositor();
if (compositor) {
- delegated_frame_host_->RegisterFrameSinkHierarchy(
- compositor->GetFrameSinkId());
+ static_cast<CompositorImpl*>(compositor)
boliu 2017/01/27 23:17:59 nit: cast in the assignment line also, what's the
Alex Z. 2017/01/29 14:58:51 Done. In the case for desktop chrome, there's a m
boliu 2017/01/30 17:20:22 That doesn't actually answer my question Is the a
boliu 2017/01/30 21:13:51 this is still unanswered?
Fady Samuel 2017/01/30 21:45:52 We cannot currently register a BeginFrame hierarch
+ ->AddChildFrameSink(delegated_frame_host_->GetFrameSinkId());
}
}

Powered by Google App Engine
This is Rietveld 408576698