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

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

Issue 2684623002: [WIP] Move ownership of PlatformDisplay from ws::Display to ws::WindowServer (Closed)
Patch Set: Created 3 years, 10 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/display.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/display.h
diff --git a/services/ui/ws/display.h b/services/ui/ws/display.h
index 679a338fab81a596d4d1ccd6e1576c685c2ea6aa..c3ce55ea338a7b0649364002f653b3d6ed6e7b44 100644
--- a/services/ui/ws/display.h
+++ b/services/ui/ws/display.h
@@ -72,7 +72,7 @@ class Display : public PlatformDisplayDelegate,
DisplayManager* display_manager();
const DisplayManager* display_manager() const;
- PlatformDisplay* platform_display() { return platform_display_.get(); }
+ PlatformDisplay* platform_display() { return platform_display_; }
// Returns a display::Display corresponding to this ws::Display.
display::Display ToDisplay() const;
@@ -194,7 +194,7 @@ class Display : public PlatformDisplayDelegate,
std::unique_ptr<DisplayBinding> binding_;
WindowServer* const window_server_;
std::unique_ptr<ServerWindow> root_;
- std::unique_ptr<PlatformDisplay> platform_display_;
+ PlatformDisplay* platform_display_;
std::unique_ptr<FocusController> focus_controller_;
// The last cursor set. Used to track whether we need to change the cursor.
« no previous file with comments | « no previous file | services/ui/ws/display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698