| Index: third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h
|
| diff --git a/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h b/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h
|
| index cd97d2dc287f84279c27220c42f23f1f8f6c08d6..f9fae06d7541b6c70414062f861ae0984e54543e 100644
|
| --- a/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h
|
| +++ b/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h
|
| @@ -43,11 +43,10 @@ class TextCheckerClient;
|
| class TextCheckingParagraph;
|
| struct TextCheckingResult;
|
|
|
| -class CORE_EXPORT SpellChecker final : public NoBaseWillBeGarbageCollectedFinalized<SpellChecker> {
|
| - USING_FAST_MALLOC_WILL_BE_REMOVED(SpellChecker);
|
| +class CORE_EXPORT SpellChecker final : public GarbageCollectedFinalized<SpellChecker> {
|
| WTF_MAKE_NONCOPYABLE(SpellChecker);
|
| public:
|
| - static PassOwnPtrWillBeRawPtr<SpellChecker> create(LocalFrame&);
|
| + static RawPtr<SpellChecker> create(LocalFrame&);
|
|
|
| ~SpellChecker();
|
| DECLARE_TRACE();
|
| @@ -66,7 +65,7 @@ public:
|
| bool markMisspellings(const VisibleSelection&);
|
| void markBadGrammar(const VisibleSelection&);
|
| void markMisspellingsAndBadGrammar(const VisibleSelection& spellingSelection, bool markGrammar, const VisibleSelection& grammarSelection);
|
| - void markAndReplaceFor(PassRefPtrWillBeRawPtr<SpellCheckRequest>, const Vector<TextCheckingResult>&);
|
| + void markAndReplaceFor(RawPtr<SpellCheckRequest>, const Vector<TextCheckingResult>&);
|
| void markAllMisspellingsAndBadGrammarInRanges(TextCheckingTypeMask, const EphemeralRange& spellingRange, const EphemeralRange& grammarRange);
|
| void advanceToNextMisspelling(bool startBeforeSelection = false);
|
| void showSpellingGuessPanel();
|
| @@ -116,8 +115,8 @@ private:
|
|
|
| void chunkAndMarkAllMisspellingsAndBadGrammar(TextCheckingTypeMask textCheckingOptions, const TextCheckingParagraph& fullParagraphToCheck);
|
|
|
| - RawPtrWillBeMember<LocalFrame> m_frame;
|
| - const OwnPtrWillBeMember<SpellCheckRequester> m_spellCheckRequester;
|
| + Member<LocalFrame> m_frame;
|
| + const Member<SpellCheckRequester> m_spellCheckRequester;
|
| };
|
|
|
| } // namespace blink
|
|
|