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

Unified Diff: Source/modules/fetch/Response.cpp

Issue 1102253002: Oilpan: keep FormData on the heap by default. (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
« no previous file with comments | « Source/modules/credentialmanager/LocalCredential.h ('k') | Source/web/WebSearchableFormData.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/fetch/Response.cpp
diff --git a/Source/modules/fetch/Response.cpp b/Source/modules/fetch/Response.cpp
index 9119330ab9a855a57001af8dce3420675b7df592..fcc11891b0f07569487c2dfce1f2f150855b53ea 100644
--- a/Source/modules/fetch/Response.cpp
+++ b/Source/modules/fetch/Response.cpp
@@ -115,7 +115,7 @@ Response* Response::create(ExecutionContext* context, const BodyInit& body, cons
return create(context, blob, ResponseInit(responseInit, exceptionState), exceptionState);
}
if (body.isFormData()) {
- RefPtrWillBeRawPtr<DOMFormData> domFormData = body.getAsFormData();
+ DOMFormData* domFormData = body.getAsFormData();
OwnPtr<BlobData> blobData = BlobData::create();
// FIXME: the same code exist in RequestInit::RequestInit().
RefPtr<FormData> httpBody = domFormData->createMultiPartFormData();
« no previous file with comments | « Source/modules/credentialmanager/LocalCredential.h ('k') | Source/web/WebSearchableFormData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698