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

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

Issue 2740273002: Remove unused SpellChecker::selectionStartHasSpellingMarkerFor (Closed)
Patch Set: update Created 3 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
« no previous file with comments | « third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp
diff --git a/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp b/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp
index b2656cd6b9bba0edda534507e9a27f31abab48e5..c99df19f965dd89994c5410bc1e645131aca48aa 100644
--- a/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp
+++ b/third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp
@@ -1019,12 +1019,6 @@ bool SpellChecker::selectionStartHasMarkerFor(
return false;
}
-// TODO(editing-dev): No one uses this function. Remove it.
-bool SpellChecker::selectionStartHasSpellingMarkerFor(int from,
- int length) const {
- return selectionStartHasMarkerFor(DocumentMarker::Spelling, from, length);
-}
-
void SpellChecker::removeMarkers(const EphemeralRange& range,
DocumentMarker::MarkerTypes markerTypes) {
DCHECK(!frame().document()->needsLayoutTreeUpdate());
« no previous file with comments | « third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698