Bug 1700051: part 44) Reduce `mozInlineSpellStatus::PositionToCollapsedRange` to...
commitab4f8bcdcda560f74de92c279342ee3831e25d0f
authorMirko Brodesser <mbrodesser@mozilla.com>
Mon, 26 Apr 2021 12:14:49 +0000 (26 12:14 +0000)
committerMirko Brodesser <mbrodesser@mozilla.com>
Mon, 26 Apr 2021 12:14:49 +0000 (26 12:14 +0000)
tree7dad34ca94064904d67475ddbe6ab5730f6c7abe
parent64526e2041fe911e698d6166700a1958dd37c4ae
Bug 1700051: part 44) Reduce `mozInlineSpellStatus::PositionToCollapsedRange` to `static` method. r=smaug

Potentially, this changes behavior, but it shouldn't. Historically,
creating a `nsRange` needed the Document, but it doesn't anymore.

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