Bug 893332, part 1 - Rename misnamed SetValidityState/GetValidityState arguments. r=baku

This commit is contained in:
Jonathan Watt 2016-01-27 16:14:16 +00:00
parent 4937ef326e
commit b7bb9dac2d

View File

@ -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);