Bug 1842027 - Remove nsTextControlFrame::TextEquals. r=masayuki
It is always called from TextControlState, and always ends up in TextControlState::ValueEquals, so we can avoid some indirection and just use that. Depends on D183282 Differential Revision: https://phabricator.services.mozilla.com/D183283
This commit is contained in:
@@ -169,11 +169,6 @@ void HTMLTextAreaElement::GetValueInternal(nsAString& aValue,
|
||||
mState->GetValue(aValue, aIgnoreWrap);
|
||||
}
|
||||
|
||||
bool HTMLTextAreaElement::ValueEquals(const nsAString& aValue) const {
|
||||
MOZ_ASSERT(mState);
|
||||
return mState->ValueEquals(aValue);
|
||||
}
|
||||
|
||||
nsIEditor* HTMLTextAreaElement::GetEditorForBindings() {
|
||||
if (!GetPrimaryFrame()) {
|
||||
GetPrimaryFrame(FlushType::Frames);
|
||||
|
||||
Reference in New Issue
Block a user