Bug 1351860 - Move mType from HTMLInputElement to nsIFormControl and make GetType non-virtual inlined, r=jessica
This commit is contained in:
@@ -164,7 +164,6 @@ public:
|
||||
NS_IMETHOD SetUserInput(const nsAString& aInput) override;
|
||||
|
||||
// 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;
|
||||
@@ -1609,12 +1608,6 @@ protected:
|
||||
// Milliseconds in a day.
|
||||
static const double kMsPerDay;
|
||||
|
||||
|
||||
/**
|
||||
* The type of this input (<input type=...>) as an integer.
|
||||
* @see nsIFormControl.h (specifically NS_FORM_INPUT_*)
|
||||
*/
|
||||
uint8_t mType;
|
||||
nsContentUtils::AutocompleteAttrState mAutocompleteAttrState;
|
||||
bool mDisabledChanged : 1;
|
||||
bool mValueChanged : 1;
|
||||
|
||||
Reference in New Issue
Block a user