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

Unified Diff: services/ui/surfaces/display_compositor.cc

Issue 2449173003: Mus: Introduce DisplayCompositorClient mojo interface (Closed)
Patch Set: Explicitly add ui/gfx/geometry/mojo dependency Created 4 years, 1 month 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/surfaces/display_compositor.h ('k') | services/ui/surfaces/display_compositor_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/surfaces/display_compositor.cc
diff --git a/services/ui/surfaces/display_compositor.cc b/services/ui/surfaces/display_compositor.cc
index 5847814353dbaa96ce04fef3c85c3374f584409b..68569cf4dacb6badf788c838e35a3a510a0088ac 100644
--- a/services/ui/surfaces/display_compositor.cc
+++ b/services/ui/surfaces/display_compositor.cc
@@ -4,12 +4,11 @@
#include "services/ui/surfaces/display_compositor.h"
-#include "services/ui/surfaces/display_compositor_client.h"
-
namespace ui {
-DisplayCompositor::DisplayCompositor(DisplayCompositorClient* client)
- : client_(client), next_client_id_(1u) {
+DisplayCompositor::DisplayCompositor(
+ cc::mojom::DisplayCompositorClientPtr client)
+ : client_(std::move(client)), next_client_id_(1u) {
manager_.AddObserver(this);
}
« no previous file with comments | « services/ui/surfaces/display_compositor.h ('k') | services/ui/surfaces/display_compositor_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698