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

Unified Diff: ui/events/event_target.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/events/event_source.cc ('k') | ui/events/event_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/event_target.h
diff --git a/ui/events/event_target.h b/ui/events/event_target.h
index e68c27730f54fa6137dc1522c2fa0339f954aace..0d7328637ac1f8f2334a6babe0083ab0fefa8021 100644
--- a/ui/events/event_target.h
+++ b/ui/events/event_target.h
@@ -5,11 +5,11 @@
#ifndef UI_EVENTS_EVENT_TARGET_H_
#define UI_EVENTS_EVENT_TARGET_H_
+#include <memory>
#include <vector>
#include "base/compiler_specific.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "ui/events/event_handler.h"
#include "ui/events/events_export.h"
@@ -47,7 +47,7 @@ class EVENTS_EXPORT EventTarget {
// Returns an iterator an EventTargeter can use to iterate over the list of
// child EventTargets.
- virtual scoped_ptr<EventTargetIterator> GetChildIterator() const = 0;
+ virtual std::unique_ptr<EventTargetIterator> GetChildIterator() const = 0;
// Returns the EventTargeter that should be used to find the target for an
// event in the subtree rooted at this EventTarget.
« no previous file with comments | « ui/events/event_source.cc ('k') | ui/events/event_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698