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

Unified Diff: media/midi/midi_manager_android.h

Issue 2895573002: Reland of Remove ScopedVector from all other codes in media/ (Closed)
Patch Set: Fix the compile fails in build target "jpeg_decode_accelerator_unittest" Created 3 years, 7 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 | « media/midi/midi_device_android.cc ('k') | media/midi/midi_manager_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/midi/midi_manager_android.h
diff --git a/media/midi/midi_manager_android.h b/media/midi/midi_manager_android.h
index fa29a441dbbf6adde817b34b14fa4193869ef17c..467afae5a2d1e153d584b6cecceb484d7a42ddf6 100644
--- a/media/midi/midi_manager_android.h
+++ b/media/midi/midi_manager_android.h
@@ -14,7 +14,6 @@
#include "base/android/scoped_java_ref.h"
#include "base/containers/hash_tables.h"
-#include "base/memory/scoped_vector.h"
#include "base/synchronization/lock.h"
#include "base/time/time.h"
#include "media/midi/midi_input_port_android.h"
@@ -72,7 +71,7 @@ class MidiManagerAndroid final : public MidiManager,
void AddOutputPortAndroid(MidiOutputPortAndroid* port,
MidiDeviceAndroid* device);
- ScopedVector<MidiDeviceAndroid> devices_;
+ std::vector<std::unique_ptr<MidiDeviceAndroid>> devices_;
// All ports held in |devices_|. Each device has ownership of ports, but we
// can store pointers here because a device will keep its ports while it is
// alive.
« no previous file with comments | « media/midi/midi_device_android.cc ('k') | media/midi/midi_manager_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698