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

Unified Diff: Source/core/fileapi/Blob.h

Issue 1118993002: Oilpan: IDL union objects should be put in HeapVector (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 | « Source/bindings/tests/results/modules/UnionTypesModules.h ('k') | Source/core/fileapi/Blob.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fileapi/Blob.h
diff --git a/Source/core/fileapi/Blob.h b/Source/core/fileapi/Blob.h
index 6c00b6062395055838efae2aca508865d8c2b949..c756a87c52d66b2c7b1e8741d3a81655c605bc42 100644
--- a/Source/core/fileapi/Blob.h
+++ b/Source/core/fileapi/Blob.h
@@ -57,7 +57,7 @@ public:
return new Blob(BlobDataHandle::create());
}
- static Blob* create(const Vector<ArrayBufferOrArrayBufferViewOrBlobOrString>&, const BlobPropertyBag&, ExceptionState&);
+ static Blob* create(const HeapVector<ArrayBufferOrArrayBufferViewOrBlobOrString>&, const BlobPropertyBag&, ExceptionState&);
static Blob* create(PassRefPtr<BlobDataHandle> blobDataHandle)
{
@@ -106,7 +106,7 @@ protected:
explicit Blob(PassRefPtr<BlobDataHandle>);
template<typename ItemType>
- static void populateBlobData(BlobData* blobData, const Vector<ItemType>& parts, bool normalizeLineEndingsToNative)
+ static void populateBlobData(BlobData* blobData, const HeapVector<ItemType>& parts, bool normalizeLineEndingsToNative)
{
for (size_t i = 0; i < parts.size(); ++i) {
const ItemType& item = parts[i];
« no previous file with comments | « Source/bindings/tests/results/modules/UnionTypesModules.h ('k') | Source/core/fileapi/Blob.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698