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

Unified Diff: third_party/WebKit/Source/modules/fetch/FetchFormDataConsumerHandle.h

Issue 1964183004: Revert of Move DOMArrayBuffer, DOMArrayBufferViews and DataView to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: third_party/WebKit/Source/modules/fetch/FetchFormDataConsumerHandle.h
diff --git a/third_party/WebKit/Source/modules/fetch/FetchFormDataConsumerHandle.h b/third_party/WebKit/Source/modules/fetch/FetchFormDataConsumerHandle.h
index ab25ff88bd32c094ca1a00a158067270e7275622..dc52d45e9454f61084a602e9c110a895781ff2ac 100644
--- a/third_party/WebKit/Source/modules/fetch/FetchFormDataConsumerHandle.h
+++ b/third_party/WebKit/Source/modules/fetch/FetchFormDataConsumerHandle.h
@@ -28,8 +28,8 @@
WTF_MAKE_NONCOPYABLE(FetchFormDataConsumerHandle);
public:
static PassOwnPtr<FetchDataConsumerHandle> create(const String& body);
- static PassOwnPtr<FetchDataConsumerHandle> create(DOMArrayBuffer* body);
- static PassOwnPtr<FetchDataConsumerHandle> create(DOMArrayBufferView* body);
+ static PassOwnPtr<FetchDataConsumerHandle> create(PassRefPtr<DOMArrayBuffer> body);
+ static PassOwnPtr<FetchDataConsumerHandle> create(PassRefPtr<DOMArrayBufferView> body);
static PassOwnPtr<FetchDataConsumerHandle> create(const void* data, size_t);
static PassOwnPtr<FetchDataConsumerHandle> create(ExecutionContext*, PassRefPtr<EncodedFormData> body);
// Use FetchBlobDataConsumerHandle for blobs.

Powered by Google App Engine
This is Rietveld 408576698