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

Unified Diff: third_party/WebKit/Source/core/loader/FormSubmission.h

Issue 2340213002: submit() in submit event handler should not contains a value of a submit button. (Closed)
Patch Set: Created 4 years, 3 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/core/loader/FormSubmission.h
diff --git a/third_party/WebKit/Source/core/loader/FormSubmission.h b/third_party/WebKit/Source/core/loader/FormSubmission.h
index 97e1009366154d09f5363205c0f7a2300257e52b..8db0861df88738e0fc151dbdeca8777da663645b 100644
--- a/third_party/WebKit/Source/core/loader/FormSubmission.h
+++ b/third_party/WebKit/Source/core/loader/FormSubmission.h
@@ -42,6 +42,7 @@ namespace blink {
class Document;
class EncodedFormData;
class Event;
+class HTMLFormControlElement;
class HTMLFormElement;
class FormSubmission : public GarbageCollectedFinalized<FormSubmission> {
@@ -90,7 +91,7 @@ public:
String m_acceptCharset;
};
- static FormSubmission* create(HTMLFormElement*, const Attributes&, Event*);
+ static FormSubmission* create(HTMLFormElement*, const Attributes&, Event*, HTMLFormControlElement* submitButton);
DECLARE_TRACE();
FrameLoadRequest createFrameLoadRequest(Document* originDocument);

Powered by Google App Engine
This is Rietveld 408576698