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

Unified Diff: content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.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/renderer_host/offscreen_canvas_compositor_frame_sink.cc
diff --git a/content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.cc b/content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.cc
index 8225f0c13b36d0cc0b768d765ebcf5b32e2c7f79..d7d04a7d62b0b6086fb7b2ba2f8a3e8f60caa9b8 100644
--- a/content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.cc
+++ b/content/browser/renderer_host/offscreen_canvas_compositor_frame_sink.cc
@@ -24,7 +24,7 @@ OffscreenCanvasCompositorFrameSink::~OffscreenCanvasCompositorFrameSink() {
// avoid its destruction error.
surface_factory_->DidDestroySurfaceManager();
} else {
- manager->InvalidateSurfaceClientId(surface_id_.client_id());
+ manager->InvalidateFrameSinkId(surface_id_.frame_sink_id());
}
surface_factory_->Destroy(surface_id_);
}
@@ -48,7 +48,7 @@ void OffscreenCanvasCompositorFrameSink::SubmitCompositorFrame(
surface_factory_ = base::MakeUnique<cc::SurfaceFactory>(manager, this);
surface_factory_->Create(surface_id_);
- manager->RegisterSurfaceClientId(surface_id_.client_id());
+ manager->RegisterFrameSinkId(surface_id_.frame_sink_id());
}
surface_factory_->SubmitCompositorFrame(surface_id_, std::move(frame),
callback);
« no previous file with comments | « content/browser/renderer_host/delegated_frame_host.cc ('k') | content/browser/renderer_host/offscreen_canvas_surface_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698