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

Unified Diff: content/browser/media/midi_host.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/media/midi_host.h
diff --git a/content/browser/media/midi_host.h b/content/browser/media/midi_host.h
index bc6fd39b58649dd8ea388b8c10396b4ab01111f1..884c9476dd1d1c6ad4cb6d1a9cfbb05c60677549 100644
--- a/content/browser/media/midi_host.h
+++ b/content/browser/media/midi_host.h
@@ -14,7 +14,6 @@
#include "base/gtest_prod_util.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_vector.h"
#include "base/synchronization/lock.h"
#include "content/common/content_export.h"
#include "content/public/browser/browser_message_filter.h"
@@ -85,7 +84,8 @@ class CONTENT_EXPORT MidiHost : public BrowserMessageFilter,
midi::MidiService* midi_service_;
// Buffers where data sent from each MIDI input port is stored.
- ScopedVector<midi::MidiMessageQueue> received_messages_queues_;
+ std::vector<std::unique_ptr<midi::MidiMessageQueue>>
+ received_messages_queues_;
// Protects access to |received_messages_queues_|;
base::Lock messages_queues_lock_;

Powered by Google App Engine
This is Rietveld 408576698