Bug 1833181 - Make SetValueChanged return void. r=smaug

Just a drive-by clean-up.

Differential Revision: https://phabricator.services.mozilla.com/D178077
This commit is contained in:
Emilio Cobos Álvarez
2023-05-15 16:07:30 +00:00
parent 2f4a365cf9
commit c18930d41f
7 changed files with 16 additions and 22 deletions

View File

@@ -3000,7 +3000,7 @@ bool TextControlState::SetValueWithoutTextEditor(
return true;
}
bool TextControlState::HasNonEmptyValue() {
bool TextControlState::HasNonEmptyValue() const {
// If the frame for editor is alive, we can compute it with mTextEditor.
// Otherwise, we need to check cached value via GetValue().
if (mTextEditor && mBoundFrame && mEditorInitialized &&