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

Unified Diff: ui/events/gestures/gesture_recognizer_impl.h

Issue 2474163003: Remove stl_util's deletion function use from ui/. (Closed)
Patch Set: braces Created 4 years, 1 month 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/chromeos/ime/candidate_window_view_unittest.cc ('k') | ui/events/gestures/gesture_recognizer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/gestures/gesture_recognizer_impl.h
diff --git a/ui/events/gestures/gesture_recognizer_impl.h b/ui/events/gestures/gesture_recognizer_impl.h
index afbcfb2c272fada8699c2331e6d4f0fc8de25ac0..c553f5e80c6f11b014c943952513ddae7d3ad9eb 100644
--- a/ui/events/gestures/gesture_recognizer_impl.h
+++ b/ui/events/gestures/gesture_recognizer_impl.h
@@ -86,7 +86,8 @@ class EVENTS_EXPORT GestureRecognizerImpl : public GestureRecognizer,
// Convenience method to find the GestureEventHelper that can dispatch events
// to a specific |consumer|.
GestureEventHelper* FindDispatchHelperForConsumer(GestureConsumer* consumer);
- std::map<GestureConsumer*, GestureProviderAura*> consumer_gesture_provider_;
+ std::map<GestureConsumer*, std::unique_ptr<GestureProviderAura>>
+ consumer_gesture_provider_;
// |touch_id_target_| maps a touch-id to its target window.
// touch-ids are removed from |touch_id_target_| on
« no previous file with comments | « ui/chromeos/ime/candidate_window_view_unittest.cc ('k') | ui/events/gestures/gesture_recognizer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698