diff --git a/dom/html/nsIConstraintValidation.h b/dom/html/nsIConstraintValidation.h index 1d3e4784a84b..f5d52a97874a 100644 --- a/dom/html/nsIConstraintValidation.h +++ b/dom/html/nsIConstraintValidation.h @@ -64,8 +64,8 @@ public: VALIDITY_STATE_CUSTOM_ERROR = 0x1 << 9, }; - void SetValidityState(ValidityStateType mState, - bool mValue); + void SetValidityState(ValidityStateType aState, + bool aValue); // Web IDL binding methods bool WillValidate() const { @@ -83,9 +83,10 @@ protected: nsresult CheckValidity(bool* aValidity); void SetCustomValidity(const nsAString& aError); - bool GetValidityState(ValidityStateType mState) const { - return mValidityBitField & mState; - } + bool GetValidityState(ValidityStateType aState) const + { + return mValidityBitField & aState; + } void SetBarredFromConstraintValidation(bool aBarred);