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

Unified Diff: cc/surfaces/surface_display_output_surface.cc

Issue 2136413002: Update Surface ID Terminology (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed webkit_unit_tests Created 4 years, 5 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: cc/surfaces/surface_display_output_surface.cc
diff --git a/cc/surfaces/surface_display_output_surface.cc b/cc/surfaces/surface_display_output_surface.cc
index 6dc569c724efd703f6f1a0a39886f2e57f26b2de..fbdb8ffcdac4105558147dcbd11b3be1fa3dc3f4 100644
--- a/cc/surfaces/surface_display_output_surface.cc
+++ b/cc/surfaces/surface_display_output_surface.cc
@@ -86,7 +86,7 @@ bool SurfaceDisplayOutputSurface::BindToClient(OutputSurfaceClient* client) {
DCHECK(thread_checker_.CalledOnValidThread());
surface_manager_->RegisterSurfaceFactoryClient(
- surface_id_allocator_->id_namespace(), this);
+ surface_id_allocator_->client_id(), this);
if (!OutputSurface::BindToClient(client))
return false;
@@ -115,7 +115,7 @@ void SurfaceDisplayOutputSurface::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_->id_namespace());
+ surface_id_allocator_->client_id());
if (!delegated_surface_id_.is_null())
factory_.Destroy(delegated_surface_id_);

Powered by Google App Engine
This is Rietveld 408576698