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

Unified Diff: ash/mus/test/wm_test_helper.h

Issue 2297893002: Merges RootWindowControllerCommon into WmRootWindowController (Closed)
Patch Set: feedback Created 4 years, 4 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 | « ash/mus/root_window_controller.cc ('k') | ash/mus/test/wm_test_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/test/wm_test_helper.h
diff --git a/ash/mus/test/wm_test_helper.h b/ash/mus/test/wm_test_helper.h
index 8807fcf137945fc4131d265d350d36436925cdbd..3e125a2ee6f78f0f9ff695b9ea47e7ac13d8b329 100644
--- a/ash/mus/test/wm_test_helper.h
+++ b/ash/mus/test/wm_test_helper.h
@@ -38,7 +38,7 @@ class WmTestHelper {
void Init();
WindowManagerApplication* window_manager_app() {
- return &window_manager_app_;
+ return window_manager_app_.get();
}
WmTestScreen* screen() { return screen_; }
@@ -46,7 +46,7 @@ class WmTestHelper {
private:
std::unique_ptr<base::MessageLoop> message_loop_;
ui::TestWindowTreeClientSetup window_tree_client_setup_;
- WindowManagerApplication window_manager_app_;
+ std::unique_ptr<WindowManagerApplication> window_manager_app_;
WmTestScreen* screen_ = nullptr; // Owned by |window_manager_app_|.
DISALLOW_COPY_AND_ASSIGN(WmTestHelper);
« no previous file with comments | « ash/mus/root_window_controller.cc ('k') | ash/mus/test/wm_test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698