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

Unified Diff: content/browser/renderer_host/offscreen_canvas_surface_impl.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_surface_impl.cc
diff --git a/content/browser/renderer_host/offscreen_canvas_surface_impl.cc b/content/browser/renderer_host/offscreen_canvas_surface_impl.cc
index a023ca0f8d033e21b290b4f5c2ec74fda989d28d..fb9b87562c566684addcea4f68a9df7950b5b075 100644
--- a/content/browser/renderer_host/offscreen_canvas_surface_impl.cc
+++ b/content/browser/renderer_host/offscreen_canvas_surface_impl.cc
@@ -14,7 +14,7 @@
namespace content {
OffscreenCanvasSurfaceImpl::OffscreenCanvasSurfaceImpl()
- : id_allocator_(new cc::SurfaceIdAllocator(AllocateSurfaceClientId())) {}
+ : id_allocator_(new cc::SurfaceIdAllocator(AllocateFrameSinkId())) {}
OffscreenCanvasSurfaceImpl::~OffscreenCanvasSurfaceImpl() {}
@@ -49,7 +49,7 @@ void OffscreenCanvasSurfaceImpl::Satisfy(const cc::SurfaceSequence& sequence) {
std::vector<uint32_t> sequences;
sequences.push_back(sequence.sequence);
cc::SurfaceManager* manager = GetSurfaceManager();
- manager->DidSatisfySequences(sequence.client_id, &sequences);
+ manager->DidSatisfySequences(sequence.frame_sink_id, &sequences);
}
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698