From 3691a72cd61c7fbd58598f99930c18c49aa89476 Mon Sep 17 00:00:00 2001 From: Mirko Brodesser Date: Wed, 24 Mar 2021 10:11:59 +0000 Subject: [PATCH] Bug 1700051: part 1) Reduce accessibility of some members of `mozInlineSpellStatus` to `private`. r=smaug Differential Revision: https://phabricator.services.mozilla.com/D109308 --- extensions/spellcheck/src/mozInlineSpellChecker.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/spellcheck/src/mozInlineSpellChecker.h b/extensions/spellcheck/src/mozInlineSpellChecker.h index cfc99fd1e7f5..93355a7510d5 100644 --- a/extensions/spellcheck/src/mozInlineSpellChecker.h +++ b/extensions/spellcheck/src/mozInlineSpellChecker.h @@ -76,6 +76,7 @@ class mozInlineSpellStatus { // Contains the range computed for the current word. Can be nullptr. RefPtr mNoCheckRange; + private: // Indicates the position of the cursor for the event (so we can compute // mNoCheckRange). It can be nullptr if we don't care about the cursor // position (such as for the intial check of everything). @@ -99,7 +100,6 @@ class mozInlineSpellStatus { // Contains the offset passed in to HandleNavigationEvent int32_t mNewNavigationPositionOffset; - protected: nsresult FinishNavigationEvent(mozInlineSpellWordUtil& aWordUtil); nsresult FillNoCheckRangeFromAnchor(mozInlineSpellWordUtil& aWordUtil); -- 2.11.4.GIT