| Index: components/mus/ws/server_window_surface_manager.cc
|
| diff --git a/components/mus/ws/server_window_surface_manager.cc b/components/mus/ws/server_window_surface_manager.cc
|
| index 61ad96efc6cfaabbc98b06dc608215476a1ef109..a17d5bf9bc161f6c2a17b9adb387dd3ec067ecca 100644
|
| --- a/components/mus/ws/server_window_surface_manager.cc
|
| +++ b/components/mus/ws/server_window_surface_manager.cc
|
| @@ -39,6 +39,10 @@ ServerWindowSurface* ServerWindowSurfaceManager::GetSurfaceByType(
|
| return iter == type_to_surface_map_.end() ? nullptr : iter->second.get();
|
| }
|
|
|
| +bool ServerWindowSurfaceManager::HasSurfaceOfType(mojom::SurfaceType type) {
|
| + return type_to_surface_map_.count(type) > 0;
|
| +}
|
| +
|
| cc::SurfaceId ServerWindowSurfaceManager::GenerateId() {
|
| return surface_id_allocator_.GenerateId();
|
| }
|
|
|