Index: services/ui/demo/mus_demo_internal.cc |
diff --git a/services/ui/demo/mus_demo_internal.cc b/services/ui/demo/mus_demo_internal.cc |
index 9f5eeaed3a8c281f00ae71d1702e30b7e18153ff..153ffbb0062bab18febe4ab77b1ddbd048338109 100644 |
--- a/services/ui/demo/mus_demo_internal.cc |
+++ b/services/ui/demo/mus_demo_internal.cc |
@@ -23,12 +23,12 @@ MusDemoInternal::MusDemoInternal() {} |
MusDemoInternal::~MusDemoInternal() {} |
void MusDemoInternal::OnStartImpl( |
- std::unique_ptr<aura::WindowTreeClient>& window_tree_client, |
- std::unique_ptr<WindowTreeData>& window_tree_data) { |
- window_tree_client = base::MakeUnique<aura::WindowTreeClient>( |
+ std::unique_ptr<aura::WindowTreeClient>* window_tree_client, |
+ std::unique_ptr<WindowTreeData>* window_tree_data) { |
+ *window_tree_client = base::MakeUnique<aura::WindowTreeClient>( |
context()->connector(), this, this); |
- window_tree_client->ConnectAsWindowManager(); |
- window_tree_data = base::MakeUnique<WindowTreeData>(kSquareSize); |
+ window_tree_client->get()->ConnectAsWindowManager(); |
+ *window_tree_data = base::MakeUnique<WindowTreeData>(kSquareSize); |
} |
void MusDemoInternal::SetWindowManagerClient( |