Index: services/ui/ws/display.cc |
diff --git a/services/ui/ws/display.cc b/services/ui/ws/display.cc |
index a7574023736322cc4615a71f0f7c667c4f0a7313..9d8914ac4ac47d8738fce8eb084890747f0c93be 100644 |
--- a/services/ui/ws/display.cc |
+++ b/services/ui/ws/display.cc |
@@ -293,7 +293,7 @@ void Display::CreateRootWindow(const gfx::Size& size) { |
ServerWindow::Properties())); |
root_->SetBounds(gfx::Rect(size)); |
root_->SetVisible(true); |
- focus_controller_.reset(new FocusController(this, root_.get())); |
+ focus_controller_ = base::MakeUnique<FocusController>(this, root_.get()); |
focus_controller_->AddObserver(this); |
InitWindowManagerDisplayRootsIfNecessary(); |
} |