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

Unified Diff: third_party/WebKit/Source/core/html/HTMLButtonElement.h

Issue 2561043002: Clean-up after Form Association Refactoring (Closed)
Patch Set: Remove redundant code path/arguments Created 4 years 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/html/HTMLButtonElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLButtonElement.h b/third_party/WebKit/Source/core/html/HTMLButtonElement.h
index f1d9b3ca476b6cecad13d2518ae6c885074541ea..931308fe472d1be56ff6adee7f0d6c64425e1206 100644
--- a/third_party/WebKit/Source/core/html/HTMLButtonElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLButtonElement.h
@@ -32,7 +32,7 @@ class HTMLButtonElement final : public HTMLFormControlElement {
DEFINE_WRAPPERTYPEINFO();
public:
- static HTMLButtonElement* create(Document&, HTMLFormElement*);
+ static HTMLButtonElement* create(Document&);
void setType(const AtomicString&);
@@ -41,7 +41,7 @@ class HTMLButtonElement final : public HTMLFormControlElement {
bool willRespondToMouseClickEvents() override;
private:
- HTMLButtonElement(Document&, HTMLFormElement*);
+ HTMLButtonElement(Document&);
tkent 2016/12/09 01:27:30 Prepend 'explicit'
enum Type { SUBMIT, RESET, BUTTON };

Powered by Google App Engine
This is Rietveld 408576698