Bug 1351860 - Move mType from HTMLInputElement to nsIFormControl and make GetType non-virtual inlined, r=jessica
This commit is contained in:
@@ -47,7 +47,6 @@ public:
|
||||
NS_DECL_NSIDOMHTMLBUTTONELEMENT
|
||||
|
||||
// overriden nsIFormControl methods
|
||||
NS_IMETHOD_(uint32_t) GetType() const override { return mType; }
|
||||
NS_IMETHOD Reset() override;
|
||||
NS_IMETHOD SubmitNamesValues(HTMLFormSubmission* aFormSubmission) override;
|
||||
NS_IMETHOD SaveState() override;
|
||||
@@ -172,7 +171,6 @@ public:
|
||||
protected:
|
||||
virtual ~HTMLButtonElement();
|
||||
|
||||
uint8_t mType;
|
||||
bool mDisabledChanged;
|
||||
bool mInInternalActivate;
|
||||
bool mInhibitStateRestoration;
|
||||
|
||||
Reference in New Issue
Block a user