| Index: ui/ozone/demo/ozone_demo.cc
|
| diff --git a/ui/ozone/demo/ozone_demo.cc b/ui/ozone/demo/ozone_demo.cc
|
| index 77800169a4920eafe1cbfb57b9fb6d4528c672c1..61782e4aeccae0046a988745fcbcb83c7a0dbcae 100644
|
| --- a/ui/ozone/demo/ozone_demo.cc
|
| +++ b/ui/ozone/demo/ozone_demo.cc
|
| @@ -2,6 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| +#include <utility>
|
| +
|
| #include "base/at_exit.h"
|
| #include "base/command_line.h"
|
| #include "base/memory/scoped_vector.h"
|
| @@ -311,7 +313,7 @@ void WindowManager::OnDisplayConfigured(const gfx::Rect& bounds, bool success) {
|
| scoped_ptr<DemoWindow> window(
|
| new DemoWindow(this, &renderer_factory_, bounds));
|
| window->Start();
|
| - windows_.push_back(window.Pass());
|
| + windows_.push_back(std::move(window));
|
| } else {
|
| LOG(ERROR) << "Failed to configure display at " << bounds.ToString();
|
| }
|
|
|