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

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

Issue 1329253002: WIP: prefer using EphemeralRange for SpellChecker. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: introduce Range::dispose() Created 5 years, 3 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: Source/core/editing/spellcheck/SpellChecker.h
diff --git a/Source/core/editing/spellcheck/SpellChecker.h b/Source/core/editing/spellcheck/SpellChecker.h
index aa242b59e2f5c256c242408a940f13dadb6b2caf..53a13a0f29506060b18dfbf53c7ed8825f62c206 100644
--- a/Source/core/editing/spellcheck/SpellChecker.h
+++ b/Source/core/editing/spellcheck/SpellChecker.h
@@ -107,7 +107,7 @@ private:
bool unifiedTextCheckerEnabled() const;
void chunkAndMarkAllMisspellingsAndBadGrammar(TextCheckingTypeMask textCheckingOptions, const TextCheckingParagraph& fullParagraphToCheck, bool asynchronous);
- void markAllMisspellingsAndBadGrammarInRanges(TextCheckingTypeMask textCheckingOptions, Range* checkingRange, Range* paragraphRange, bool asynchronous, int requestNumber, int* checkingLength = 0);
+ void markAllMisspellingsAndBadGrammarInRanges(TextCheckingTypeMask textCheckingOptions, const EphemeralRange& checkingRange, const EphemeralRange& paragraphRange, bool asynchronous, int requestNumber, int* checkingLength = 0);
RawPtrWillBeMember<LocalFrame> m_frame;
const OwnPtrWillBeMember<SpellCheckRequester> m_spellCheckRequester;

Powered by Google App Engine
This is Rietveld 408576698