mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Bug 893332, part 1 - Rename misnamed SetValidityState/GetValidityState arguments. r=baku
This commit is contained in:
parent
4937ef326e
commit
b7bb9dac2d
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user