Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(125)

Unified Diff: third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698