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

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: 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..4844c1e20cbcd4df4c022a4e9e67c07b45a2baa5 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"
@@ -44,14 +44,12 @@ class TextEncoding;
namespace WebCore {
class Blob;
+class ExecutionContext;
class HTMLFormElement;
class DOMFormData : public RefCountedWillBeGarbageCollectedFinalized<DOMFormData>, public FormDataList, public ScriptWrappable {
public:
- static PassRefPtrWillBeRawPtr<DOMFormData> create(HTMLFormElement* form)
- {
- return adoptRefWillBeNoop(new DOMFormData(form));
- }
+ static PassRefPtrWillBeRawPtr<DOMFormData> create(ExecutionContext*, HTMLFormElement*);
static PassRefPtrWillBeRawPtr<DOMFormData> create(const WTF::TextEncoding& encoding)
{

Powered by Google App Engine
This is Rietveld 408576698