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

Unified Diff: services/ui/ws/server_window_surface_manager.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: services/ui/ws/server_window_surface_manager.cc
diff --git a/services/ui/ws/server_window_surface_manager.cc b/services/ui/ws/server_window_surface_manager.cc
index 13a3ff56841916a52316ea9bb70ed357b1f6dae7..9f821359a0606b6f0f631d9cccb6f9368c0207e7 100644
--- a/services/ui/ws/server_window_surface_manager.cc
+++ b/services/ui/ws/server_window_surface_manager.cc
@@ -15,11 +15,11 @@ namespace ws {
ServerWindowSurfaceManager::ServerWindowSurfaceManager(ServerWindow* window)
: window_(window),
surface_id_allocator_(
- window->delegate()->GetSurfacesState()->next_id_namespace()),
+ window->delegate()->GetSurfacesState()->next_client_id()),
waiting_for_initial_frames_(
window_->properties().count(ui::mojom::kWaitForUnderlay_Property) >
0) {
- surface_id_allocator_.RegisterSurfaceIdNamespace(GetSurfaceManager());
+ surface_id_allocator_.RegisterSurfaceClientId(GetSurfaceManager());
}
ServerWindowSurfaceManager::~ServerWindowSurfaceManager() {

Powered by Google App Engine
This is Rietveld 408576698