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

Unified Diff: Source/core/html/DOMFormData.h

Issue 227483008: Support FormData on WorkerGlobalScope. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased Created 6 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/core/html/DOMFormData.h
diff --git a/Source/core/html/DOMFormData.h b/Source/core/html/DOMFormData.h
index 0d2dce39dd66419e225835549f9fd91200849acf..58ce890a29dfa597442668d8da06c2521a63dbb7 100644
--- a/Source/core/html/DOMFormData.h
+++ b/Source/core/html/DOMFormData.h
@@ -32,7 +32,7 @@
#define DOMFormData_h
#include "core/html/FormDataList.h"
-#include "heap/Handle.h"
+#include "platform/heap/Handle.h"
#include "wtf/Forward.h"
#include "wtf/PassRefPtr.h"
#include "wtf/RefCounted.h"
@@ -48,7 +48,7 @@ class HTMLFormElement;
class DOMFormData : public RefCountedWillBeGarbageCollectedFinalized<DOMFormData>, public FormDataList, public ScriptWrappable {
public:
- static PassRefPtrWillBeRawPtr<DOMFormData> create(HTMLFormElement* form)
+ static PassRefPtrWillBeRawPtr<DOMFormData> create(HTMLFormElement* form = 0)
{
return adoptRefWillBeNoop(new DOMFormData(form));
}
« no previous file with comments | « LayoutTests/webexposed/global-constructors-listing-shared-worker-expected.txt ('k') | Source/core/html/FormData.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698