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

Unified Diff: cc/surfaces/direct_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
« no previous file with comments | « cc/surfaces/BUILD.gn ('k') | cc/surfaces/display.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/direct_compositor_frame_sink.cc
diff --git a/cc/surfaces/direct_compositor_frame_sink.cc b/cc/surfaces/direct_compositor_frame_sink.cc
index b96cbbc93a327958a5e5940e418868020db009aa..727c374e7e919fdafae238fa195a6df4a88bbbc0 100644
--- a/cc/surfaces/direct_compositor_frame_sink.cc
+++ b/cc/surfaces/direct_compositor_frame_sink.cc
@@ -59,7 +59,7 @@ bool DirectCompositorFrameSink::BindToClient(
DCHECK(thread_checker_.CalledOnValidThread());
surface_manager_->RegisterSurfaceFactoryClient(
- surface_id_allocator_->client_id(), this);
+ surface_id_allocator_->frame_sink_id(), this);
if (!CompositorFrameSink::BindToClient(client))
return false;
@@ -73,7 +73,7 @@ bool DirectCompositorFrameSink::BindToClient(
// Avoid initializing GL context here, as this should be sharing the
// Display's context.
display_->Initialize(this, surface_manager_,
- surface_id_allocator_->client_id());
+ surface_id_allocator_->frame_sink_id());
return true;
}
@@ -82,7 +82,7 @@ void DirectCompositorFrameSink::DetachFromClient() {
// Unregister the SurfaceFactoryClient here instead of the dtor so that only
// one client is alive for this namespace at any given time.
surface_manager_->UnregisterSurfaceFactoryClient(
- surface_id_allocator_->client_id());
+ surface_id_allocator_->frame_sink_id());
if (!delegated_surface_id_.is_null())
factory_.Destroy(delegated_surface_id_);
« no previous file with comments | « cc/surfaces/BUILD.gn ('k') | cc/surfaces/display.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698