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

Unified Diff: ui/events/gesture_detection/motion_event_generic.h

Issue 2628393003: Remove ScopedVector from ui/events/. (Closed)
Patch Set: chromeos2 Created 3 years, 11 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
Index: ui/events/gesture_detection/motion_event_generic.h
diff --git a/ui/events/gesture_detection/motion_event_generic.h b/ui/events/gesture_detection/motion_event_generic.h
index 3b754e6fcf5f934058b065fd568b7859912c84d7..3a90b8019b2360978b10a23d8a38b7683e4199b6 100644
--- a/ui/events/gesture_detection/motion_event_generic.h
+++ b/ui/events/gesture_detection/motion_event_generic.h
@@ -9,7 +9,6 @@
#include <stdint.h>
#include "base/containers/stack_container.h"
-#include "base/memory/scoped_vector.h"
#include "ui/events/gesture_detection/gesture_detection_export.h"
#include "ui/events/gesture_detection/motion_event.h"
@@ -127,7 +126,7 @@ class GESTURE_DETECTION_EXPORT MotionEventGeneric : public MotionEvent {
int button_state_;
int flags_;
base::StackVector<PointerProperties, kTypicalMaxPointerCount> pointers_;
- ScopedVector<MotionEvent> historical_events_;
+ std::vector<std::unique_ptr<MotionEvent>> historical_events_;
};
} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698