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

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

Issue 1878463002: Move DOMArrayBuffer, DOMArrayBufferViews and DataView to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tidy Created 4 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: 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 dc52d45e9454f61084a602e9c110a895781ff2ac..ab25ff88bd32c094ca1a00a158067270e7275622 100644
--- a/third_party/WebKit/Source/modules/fetch/FetchFormDataConsumerHandle.h
+++ b/third_party/WebKit/Source/modules/fetch/FetchFormDataConsumerHandle.h
@@ -28,8 +28,8 @@ class MODULES_EXPORT FetchFormDataConsumerHandle final : public FetchDataConsume
WTF_MAKE_NONCOPYABLE(FetchFormDataConsumerHandle);
public:
static PassOwnPtr<FetchDataConsumerHandle> create(const String& body);
- static PassOwnPtr<FetchDataConsumerHandle> create(PassRefPtr<DOMArrayBuffer> body);
- static PassOwnPtr<FetchDataConsumerHandle> create(PassRefPtr<DOMArrayBufferView> body);
+ static PassOwnPtr<FetchDataConsumerHandle> create(DOMArrayBuffer* body);
+ static PassOwnPtr<FetchDataConsumerHandle> create(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