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

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

Issue 2385193002: FrameSinkIds use to WindowIds in window server, Process ID/Route ID in renderer (Closed)
Patch Set: Added missing serialization 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 | « services/ui/ws/server_window_surface.h ('k') | services/ui/ws/server_window_surface_manager.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.cc
diff --git a/services/ui/ws/server_window_surface.cc b/services/ui/ws/server_window_surface.cc
index 4958d0f190a1f40cd8daa28e8b0786afce7683be..9228115e629289bc083cc8718f4d90c24c1051d3 100644
--- a/services/ui/ws/server_window_surface.cc
+++ b/services/ui/ws/server_window_surface.cc
@@ -19,13 +19,10 @@ namespace ws {
ServerWindowSurface::ServerWindowSurface(
ServerWindowSurfaceManager* manager,
+ const cc::FrameSinkId& frame_sink_id,
mojo::InterfaceRequest<Surface> request,
mojom::SurfaceClientPtr client)
- : frame_sink_id_(manager->window()
- ->delegate()
- ->GetDisplayCompositor()
- ->GenerateNextClientId(),
- 0),
+ : frame_sink_id_(frame_sink_id),
manager_(manager),
surface_id_allocator_(frame_sink_id_),
surface_factory_(frame_sink_id_, manager_->GetSurfaceManager(), this),
« no previous file with comments | « services/ui/ws/server_window_surface.h ('k') | services/ui/ws/server_window_surface_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698