Index: ui/views/widget/desktop_aura/desktop_window_tree_host_win.h |
diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host_win.h b/ui/views/widget/desktop_aura/desktop_window_tree_host_win.h |
index 3465112eac09eb175b0da762284e70fd02963e6a..4d62c39dd540db9256e6dcb7ce831d22f93f47d2 100644 |
--- a/ui/views/widget/desktop_aura/desktop_window_tree_host_win.h |
+++ b/ui/views/widget/desktop_aura/desktop_window_tree_host_win.h |
@@ -48,8 +48,8 @@ class VIEWS_EXPORT DesktopWindowTreeHostWin |
void Init(aura::Window* content_window, |
const Widget::InitParams& params) override; |
void OnNativeWidgetCreated(const Widget::InitParams& params) override; |
- scoped_ptr<corewm::Tooltip> CreateTooltip() override; |
- scoped_ptr<aura::client::DragDropClient> CreateDragDropClient( |
+ std::unique_ptr<corewm::Tooltip> CreateTooltip() override; |
+ std::unique_ptr<aura::client::DragDropClient> CreateDragDropClient( |
DesktopNativeCursorManager* cursor_manager) override; |
void Close() override; |
void CloseNow() override; |
@@ -205,8 +205,8 @@ class VIEWS_EXPORT DesktopWindowTreeHostWin |
// Returns true if a modal window is active in the current root window chain. |
bool IsModalWindowActive() const; |
- scoped_ptr<HWNDMessageHandler> message_handler_; |
- scoped_ptr<aura::client::FocusClient> focus_client_; |
+ std::unique_ptr<HWNDMessageHandler> message_handler_; |
+ std::unique_ptr<aura::client::FocusClient> focus_client_; |
// TODO(beng): Consider providing an interface to DesktopNativeWidgetAura |
// instead of providing this route back to Widget. |
@@ -258,7 +258,7 @@ class VIEWS_EXPORT DesktopWindowTreeHostWin |
// whenever the cursor visibility state changes. |
static bool is_cursor_visible_; |
- scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_; |
+ std::unique_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_; |
// Indicates if current window will receive mouse events when should not |
// become activated. |