| Index: services/ui/ws/window_manager_client_unittest.cc
|
| diff --git a/services/ui/ws/window_manager_client_unittest.cc b/services/ui/ws/window_manager_client_unittest.cc
|
| index 11c25316562a58deaab5d2735d177a91363f905e..3dea21ef193e4741480ad489e340076ef0551d74 100644
|
| --- a/services/ui/ws/window_manager_client_unittest.cc
|
| +++ b/services/ui/ws/window_manager_client_unittest.cc
|
| @@ -268,7 +268,7 @@ class WindowServerTest : public WindowServerTestBase {
|
| // returned.
|
| EmbedResult Embed(Window* window) {
|
| DCHECK(!embed_details_);
|
| - embed_details_.reset(new EmbedDetails);
|
| + embed_details_ = base::MakeUnique<EmbedDetails>();
|
| window->Embed(ConnectAndGetWindowServerClient(),
|
| base::Bind(&WindowServerTest::EmbedCallbackImpl,
|
| base::Unretained(this)));
|
| @@ -1089,7 +1089,7 @@ class EstablishConnectionViaFactoryDelegate : public TestWindowManagerDelegate {
|
| return false;
|
|
|
| created_window_ = nullptr;
|
| - run_loop_.reset(new base::RunLoop);
|
| + run_loop_ = base::MakeUnique<base::RunLoop>();
|
| run_loop_->Run();
|
| run_loop_.reset();
|
| return created_window_ != nullptr;
|
|
|