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

Unified Diff: ui/aura/window_tree_host.h

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
« no previous file with comments | « ui/aura/window_targeter_unittest.cc ('k') | ui/aura/window_tree_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window_tree_host.h
diff --git a/ui/aura/window_tree_host.h b/ui/aura/window_tree_host.h
index 6821de4f185ef736982df5f49c4fab6b1642b6f3..ed30d27a3819c6f3457e8baa4846190dd5265a66 100644
--- a/ui/aura/window_tree_host.h
+++ b/ui/aura/window_tree_host.h
@@ -232,15 +232,15 @@ class AURA_EXPORT WindowTreeHost : public ui::internal::InputMethodDelegate,
base::ObserverList<WindowTreeHostObserver> observers_;
- scoped_ptr<WindowEventDispatcher> dispatcher_;
+ std::unique_ptr<WindowEventDispatcher> dispatcher_;
- scoped_ptr<ui::Compositor> compositor_;
+ std::unique_ptr<ui::Compositor> compositor_;
// Last cursor set. Used for testing.
gfx::NativeCursor last_cursor_;
gfx::Point last_cursor_request_position_in_host_;
- scoped_ptr<ui::ViewProp> prop_;
+ std::unique_ptr<ui::ViewProp> prop_;
// The InputMethod instance used to process key events.
// If owned it, it is created in GetInputMethod() method;
« no previous file with comments | « ui/aura/window_targeter_unittest.cc ('k') | ui/aura/window_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698