Index: ui/aura/window_targeter.cc |
diff --git a/ui/aura/window_targeter.cc b/ui/aura/window_targeter.cc |
index 96413d0253886ebd8545cf08ba83ab1627ab546c..1364ab3fb83ccce05ac450e98d83c664ef7cefcf 100644 |
--- a/ui/aura/window_targeter.cc |
+++ b/ui/aura/window_targeter.cc |
@@ -168,7 +168,8 @@ Window* WindowTargeter::FindTargetInRootWindow(Window* root_window, |
Window* WindowTargeter::FindTargetForLocatedEventRecursively( |
Window* root_window, |
ui::LocatedEvent* event) { |
- scoped_ptr<ui::EventTargetIterator> iter = root_window->GetChildIterator(); |
+ std::unique_ptr<ui::EventTargetIterator> iter = |
+ root_window->GetChildIterator(); |
if (iter) { |
ui::EventTarget* target = root_window; |
for (ui::EventTarget* child = iter->GetNextTarget(); child; |