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

Unified Diff: ui/aura/window.cc

Issue 2259753003: Re-write many calls to WrapUnique() with MakeUnique() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/arc/notification/arc_notification_item.cc ('k') | ui/base/ime/input_method_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window.cc
diff --git a/ui/aura/window.cc b/ui/aura/window.cc
index ad3b484adf2f9f9f9d2812d7c69d38c1fb48f113..0cfa7372f79c615b1a2e8acb3d75fe5cedc5476f 100644
--- a/ui/aura/window.cc
+++ b/ui/aura/window.cc
@@ -1094,7 +1094,7 @@ ui::EventTarget* Window::GetParentTarget() {
}
std::unique_ptr<ui::EventTargetIterator> Window::GetChildIterator() const {
- return base::WrapUnique(new ui::EventTargetIteratorImpl<Window>(children()));
+ return base::MakeUnique<ui::EventTargetIteratorImpl<Window>>(children());
}
ui::EventTargeter* Window::GetEventTargeter() {
« no previous file with comments | « ui/arc/notification/arc_notification_item.cc ('k') | ui/base/ime/input_method_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698