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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user