Bug 1842027 - Remove always-true aIgnoreWrap parameter from TextControlElement::GetTextEditorValue. r=masayuki

Depends on D183281

Differential Revision: https://phabricator.services.mozilla.com/D183282
This commit is contained in:
Emilio Cobos Álvarez
2023-07-12 08:57:12 +00:00
parent b702b2c1fd
commit 072c9af992
6 changed files with 10 additions and 16 deletions

View File

@@ -6768,11 +6768,9 @@ void HTMLInputElement::GetDefaultValueFromContent(nsAString& aValue) {
bool HTMLInputElement::ValueChanged() const { return mValueChanged; }
void HTMLInputElement::GetTextEditorValue(nsAString& aValue,
bool aIgnoreWrap) const {
TextControlState* state = GetEditorState();
if (state) {
state->GetValue(aValue, aIgnoreWrap);
void HTMLInputElement::GetTextEditorValue(nsAString& aValue) const {
if (TextControlState* state = GetEditorState()) {
state->GetValue(aValue, /* aIgnoreWrap = */ true);
}
}