Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(266)

Unified Diff: ui/views/touchui/touch_selection_controller_impl.cc

Issue 1868363002: Replace scoped_ptr with std::unique_ptr in //ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scopedptrcc
Patch Set: scopedptrui: rebase-make_scoped_ptr Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
« no previous file with comments | « ui/views/touchui/touch_selection_controller_impl.h ('k') | ui/views/touchui/touch_selection_controller_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698