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

Unified Diff: Source/modules/encryptedmedia/MediaKeySystemAccess.cpp

Issue 1112363003: Oilpan: Remove OffHeapCollectionTrait (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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: Source/modules/encryptedmedia/MediaKeySystemAccess.cpp
diff --git a/Source/modules/encryptedmedia/MediaKeySystemAccess.cpp b/Source/modules/encryptedmedia/MediaKeySystemAccess.cpp
index e649b987ed4410d484e55d255b4f6117bd231ba5..53f5f954473bbeefbf3cfbd90184baa8d96847ab 100644
--- a/Source/modules/encryptedmedia/MediaKeySystemAccess.cpp
+++ b/Source/modules/encryptedmedia/MediaKeySystemAccess.cpp
@@ -73,9 +73,9 @@ static Vector<String> convertInitDataTypes(const WebVector<WebEncryptedMediaInit
return result;
}
-static Vector<MediaKeySystemMediaCapability> convertCapabilities(const WebVector<WebMediaKeySystemMediaCapability>& capabilities)
+static HeapVector<MediaKeySystemMediaCapability> convertCapabilities(const WebVector<WebMediaKeySystemMediaCapability>& capabilities)
{
- Vector<MediaKeySystemMediaCapability> result;
+ HeapVector<MediaKeySystemMediaCapability> result;
result.reserveCapacity(capabilities.size());
for (size_t i = 0; i < capabilities.size(); i++) {
MediaKeySystemMediaCapability capability;
« no previous file with comments | « Source/core/html/parser/HTMLScriptRunner.h ('k') | Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698