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

Unified Diff: content/browser/renderer_host/ui_events_helper.h

Issue 2742333002: Remove ScopedVector from content/browser/ [1]. (Closed)
Patch Set: Created 3 years, 9 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: content/browser/renderer_host/ui_events_helper.h
diff --git a/content/browser/renderer_host/ui_events_helper.h b/content/browser/renderer_host/ui_events_helper.h
index dc92483d8a53c2fde8b02b25b1acd2123dea1dc0..b04a8d35dd5f089c4a43f9c4395c447a8a87a789 100644
--- a/content/browser/renderer_host/ui_events_helper.h
+++ b/content/browser/renderer_host/ui_events_helper.h
@@ -5,7 +5,9 @@
#ifndef CONTENT_BROWSER_RENDERER_HOST_UI_EVENTS_HELPER_H_
#define CONTENT_BROWSER_RENDERER_HOST_UI_EVENTS_HELPER_H_
-#include "base/memory/scoped_vector.h"
+#include <memory>
+#include <vector>
+
#include "content/browser/renderer_host/event_with_latency_info.h"
#include "content/common/content_export.h"
@@ -32,7 +34,7 @@ enum TouchEventCoordinateSystem {
// the Aura EventDispatcher co-ordinate system).
CONTENT_EXPORT bool MakeUITouchEventsFromWebTouchEvents(
const TouchEventWithLatencyInfo& touch,
- ScopedVector<ui::TouchEvent>* list,
+ std::vector<std::unique_ptr<ui::TouchEvent>>* list,
TouchEventCoordinateSystem coordinate_system);
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698