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

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

Issue 2804753002: mus: Fix showing guest views in --mash and --mus. (Closed)
Patch Set: tot merge Created 3 years, 8 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_child_frame.cc
diff --git a/content/browser/frame_host/render_widget_host_view_child_frame.cc b/content/browser/frame_host/render_widget_host_view_child_frame.cc
index 4a33acda21c830f7bd97ef3cb61b7547ca28391d..d6d6b264e69fd58520b09726e20727968caad797 100644
--- a/content/browser/frame_host/render_widget_host_view_child_frame.cc
+++ b/content/browser/frame_host/render_widget_host_view_child_frame.cc
@@ -411,6 +411,12 @@ void RenderWidgetHostViewChildFrame::OnBeginFrameDidNotSwap(
support_->BeginFrameDidNotSwap(ack);
}
+void RenderWidgetHostViewChildFrame::OnSurfaceChanged(
+ const cc::SurfaceInfo& surface_info) {
+ cc::SurfaceSequence sequence(frame_sink_id_, next_surface_sequence_++);
+ SendSurfaceInfoToEmbedderImpl(surface_info, sequence);
+}
+
void RenderWidgetHostViewChildFrame::ProcessFrameSwappedCallbacks() {
// We only use callbacks once, therefore we make a new list for registration
// before we start, and discard the old list entries when we are done.

Powered by Google App Engine
This is Rietveld 408576698