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

Unified Diff: content/browser/frame_host/render_widget_host_view_guest.cc

Issue 2780713004: Hide compositor_frame_sink_id from RenderWidgetHostView* (Closed)
Patch Set: Added a comment in android Created 3 years, 9 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/frame_host/render_widget_host_view_guest.cc
diff --git a/content/browser/frame_host/render_widget_host_view_guest.cc b/content/browser/frame_host/render_widget_host_view_guest.cc
index 53394246b83948b1242900806eb0b81704923eb8..a02b055c3c6f5019ebe96fed2e2447306d522814 100644
--- a/content/browser/frame_host/render_widget_host_view_guest.cc
+++ b/content/browser/frame_host/render_widget_host_view_guest.cc
@@ -280,15 +280,13 @@ void RenderWidgetHostViewGuest::SendSurfaceInfoToEmbedderImpl(
guest_->SetChildFrameSurface(surface_info, sequence);
}
-void RenderWidgetHostViewGuest::OnSwapCompositorFrame(
- uint32_t compositor_frame_sink_id,
+void RenderWidgetHostViewGuest::SubmitCompositorFrame(
const cc::LocalSurfaceId& local_surface_id,
cc::CompositorFrame frame) {
TRACE_EVENT0("content", "RenderWidgetHostViewGuest::OnSwapCompositorFrame");
last_scroll_offset_ = frame.metadata.root_scroll_offset;
- ProcessCompositorFrame(compositor_frame_sink_id, local_surface_id,
- std::move(frame));
+ ProcessCompositorFrame(local_surface_id, std::move(frame));
// If after detaching we are sent a frame, we should finish processing it, and
// then we should clear the surface so that we are not holding resources we

Powered by Google App Engine
This is Rietveld 408576698