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

Unified Diff: services/ui/ws/server_window_surface.h

Issue 2163423002: mus: Each ServerWindowSurface should have a different client ID (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « no previous file | services/ui/ws/server_window_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/server_window_surface.h
diff --git a/services/ui/ws/server_window_surface.h b/services/ui/ws/server_window_surface.h
index d30e8c34ce1148aee2a6a86a02cafa7375dcc55d..5f1e6d675d51c2c1feda64e292dae3254b3ccead 100644
--- a/services/ui/ws/server_window_surface.h
+++ b/services/ui/ws/server_window_surface.h
@@ -51,9 +51,6 @@ class ServerWindowSurface : public mojom::Surface,
// Destroys old surfaces that have been outdated by a new surface.
void DestroySurfacesScheduledForDestruction();
- // Registers this with the SurfaceManager
- void RegisterForBeginFrames();
-
private:
ServerWindow* window();
@@ -66,6 +63,7 @@ class ServerWindowSurface : public mojom::Surface,
gfx::Size last_submitted_frame_size_;
cc::SurfaceId surface_id_;
+ cc::SurfaceIdAllocator surface_id_allocator_;
cc::SurfaceFactory surface_factory_;
mojom::SurfaceClientPtr client_;
@@ -74,8 +72,6 @@ class ServerWindowSurface : public mojom::Surface,
// Set of surface ids that need to be destroyed.
std::set<cc::SurfaceId> surfaces_scheduled_for_destruction_;
- bool registered_surface_factory_client_;
-
DISALLOW_COPY_AND_ASSIGN(ServerWindowSurface);
};
« no previous file with comments | « no previous file | services/ui/ws/server_window_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698