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

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

Issue 2369793002: WIP: Propagate SurfaceID up window tree hierarchy
Patch Set: Fix input events: EventDispatcher ignores container windows Created 4 years, 3 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 7df2cdac2f214537f3e7a282e64bdb968f2f553f..d3ecd7d2d6fce6a48cbc7035457ad24487865edd 100644
--- a/content/browser/frame_host/render_widget_host_view_guest.cc
+++ b/content/browser/frame_host/render_widget_host_view_guest.cc
@@ -114,7 +114,7 @@ void RenderWidgetHostViewGuest::Show() {
// the renderer.
if (!surface_id_.is_null()) {
cc::SurfaceSequence sequence = cc::SurfaceSequence(
- id_allocator_->client_id(), next_surface_sequence_++);
+ id_allocator_->frame_sink_id(), next_surface_sequence_++);
GetSurfaceManager()
->GetSurfaceForId(surface_id_)
->AddDestructionDependency(sequence);
@@ -301,7 +301,7 @@ void RenderWidgetHostViewGuest::OnSwapCompositorFrame(
surface_factory_->Create(surface_id_);
cc::SurfaceSequence sequence = cc::SurfaceSequence(
- id_allocator_->client_id(), next_surface_sequence_++);
+ id_allocator_->frame_sink_id(), next_surface_sequence_++);
// The renderer process will satisfy this dependency when it creates a
// SurfaceLayer.
cc::SurfaceManager* manager = GetSurfaceManager();

Powered by Google App Engine
This is Rietveld 408576698