Index: ui/wm/core/window_util.h |
diff --git a/ui/wm/core/window_util.h b/ui/wm/core/window_util.h |
index 3f2495c8f53776f4253b86c252c9ca4a5ac91765..8189a2f68fcd431eb7e2ab7c3320667b16b3830c 100644 |
--- a/ui/wm/core/window_util.h |
+++ b/ui/wm/core/window_util.h |
@@ -5,10 +5,10 @@ |
#ifndef UI_WM_CORE_WINDOW_UTIL_H_ |
#define UI_WM_CORE_WINDOW_UTIL_H_ |
+#include <memory> |
#include <vector> |
#include "base/compiler_specific.h" |
-#include "base/memory/scoped_ptr.h" |
#include "ui/wm/wm_export.h" |
namespace aura { |
@@ -42,7 +42,7 @@ WM_EXPORT aura::Window* GetToplevelWindow(aura::Window* window); |
// |
// As a result of this |root| has freshly created layers, meaning the layers |
// have not yet been painted to. |
-WM_EXPORT scoped_ptr<ui::LayerTreeOwner> RecreateLayers( |
+WM_EXPORT std::unique_ptr<ui::LayerTreeOwner> RecreateLayers( |
ui::LayerOwner* root); |
// Convenience functions that get the TransientWindowManager for the window and |