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

Unified Diff: blimp/client/support/compositor/compositor_dependencies_impl.cc

Issue 2382873002: Replace usage of SurfaceId's client_id with FrameSinkId (Closed)
Patch Set: Rebased Created 4 years, 2 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 | « blimp/client/support/compositor/compositor_dependencies_impl.h ('k') | cc/ipc/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/client/support/compositor/compositor_dependencies_impl.cc
diff --git a/blimp/client/support/compositor/compositor_dependencies_impl.cc b/blimp/client/support/compositor/compositor_dependencies_impl.cc
index 4b0fdce1fbf1fb7aa10ad6a6256c75682f685988..b85aad9c4baabc0c752ce085e6b497f3616cea12 100644
--- a/blimp/client/support/compositor/compositor_dependencies_impl.cc
+++ b/blimp/client/support/compositor/compositor_dependencies_impl.cc
@@ -31,8 +31,8 @@ cc::SurfaceManager* CompositorDependenciesImpl::GetSurfaceManager() {
return surface_manager_.get();
}
-uint32_t CompositorDependenciesImpl::AllocateSurfaceClientId() {
- return ++next_surface_id_;
+cc::FrameSinkId CompositorDependenciesImpl::AllocateFrameSinkId() {
+ return cc::FrameSinkId(++next_surface_id_, 0 /* sink_id */);
}
void CompositorDependenciesImpl::GetContextProviders(
« no previous file with comments | « blimp/client/support/compositor/compositor_dependencies_impl.h ('k') | cc/ipc/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698