Index: ui/views/touchui/touch_selection_controller_impl.cc |
diff --git a/ui/views/touchui/touch_selection_controller_impl.cc b/ui/views/touchui/touch_selection_controller_impl.cc |
index c0e4ef943a6b0ff0d8f57afbbe6c8ade7c7b624c..d100e8bc1dc380bee736a255cc3c546aba8492d5 100644 |
--- a/ui/views/touchui/touch_selection_controller_impl.cc |
+++ b/ui/views/touchui/touch_selection_controller_impl.cc |
@@ -241,7 +241,7 @@ class TouchSelectionControllerImpl::EditingHandleView |
widget_->SetContentsView(this); |
aura::Window* window = widget_->GetNativeWindow(); |
- window->SetEventTargeter(scoped_ptr<ui::EventTargeter>( |
+ window->SetEventTargeter(std::unique_ptr<ui::EventTargeter>( |
new TouchHandleWindowTargeter(window, this))); |
// We are owned by the TouchSelectionControllerImpl. |
@@ -376,7 +376,7 @@ class TouchSelectionControllerImpl::EditingHandleView |
} |
private: |
- scoped_ptr<Widget> widget_; |
+ std::unique_ptr<Widget> widget_; |
TouchSelectionControllerImpl* controller_; |
// In local coordinates |