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

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

Issue 2386763002: services/ui: Match naming in cc (and jellyfish branch) (Closed)
Patch Set: Removed bad change 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 9ca1b9e1c84b22e4996f6e9a4c79a90e326f7736..3f2da67f0a0b7cb29e8763b3be24b627fb12a5b1 100644
--- a/services/ui/ws/server_window_surface.cc
+++ b/services/ui/ws/server_window_surface.cc
@@ -9,7 +9,7 @@
#include "cc/output/compositor_frame.h"
#include "cc/quads/shared_quad_state.h"
#include "cc/quads/surface_draw_quad.h"
-#include "services/ui/surfaces/surfaces_state.h"
+#include "services/ui/surfaces/display_compositor.h"
#include "services/ui/ws/server_window.h"
#include "services/ui/ws/server_window_delegate.h"
#include "services/ui/ws/server_window_surface_manager.h"
@@ -22,9 +22,11 @@ ServerWindowSurface::ServerWindowSurface(
mojo::InterfaceRequest<Surface> request,
mojom::SurfaceClientPtr client)
: manager_(manager),
- surface_id_allocator_(cc::FrameSinkId(
- manager->window()->delegate()->GetSurfacesState()->next_client_id(),
- 0)),
+ surface_id_allocator_(cc::FrameSinkId(manager->window()
+ ->delegate()
+ ->GetDisplayCompositor()
+ ->GenerateNextClientId(),
+ 0)),
surface_factory_(manager_->GetSurfaceManager(), this),
client_(std::move(client)),
binding_(this, std::move(request)) {
« 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