Bug 1700051: part 6) Change `mozInlineSpellStatus::InitForEditorChange` to static...
commitdaed84a8f4a8b263354413b80a368cc98d037a89
authorMirko Brodesser <mbrodesser@mozilla.com>
Fri, 26 Mar 2021 09:21:10 +0000 (26 09:21 +0000)
committerMirko Brodesser <mbrodesser@mozilla.com>
Fri, 26 Mar 2021 09:21:10 +0000 (26 09:21 +0000)
tree897ec7b42f6cfb3cb8901c34ae3050e7b1f7e582
parent32f20c2592806f6a9e25844f23ba96a5b5bdce87
Bug 1700051: part 6) Change `mozInlineSpellStatus::InitForEditorChange` to static factory method. r=smaug

Preparation so that some members of `mozInlineSpellStatus` can become
`const`-qualified.

The method's return value will be changed to
`Result<UniquePtr<mozInlineSpellStatus>, nsresult>>` in a separate
review.

Differential Revision: https://phabricator.services.mozilla.com/D109741
extensions/spellcheck/src/mozInlineSpellChecker.cpp
extensions/spellcheck/src/mozInlineSpellChecker.h