Commit eabba3af authored by Xiaocheng Hu's avatar Xiaocheng Hu Committed by Commit Bot

Remove unused SpellChecker::CancelCheck

The function is dead for pretty long time. So this CL removes it.

Bug: 924616
Change-Id: I33d0d377add5f6ada2a4e25fab6d086561874d86
Reviewed-on: https://chromium-review.googlesource.com/c/1436674
Auto-Submit: Xiaocheng Hu <xiaochengh@chromium.org>
Reviewed-by: default avatarYoshifumi Inoue <yosin@chromium.org>
Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#626129}
parent b1dc8720
...@@ -595,10 +595,6 @@ void SpellChecker::RemoveMarkers(const EphemeralRange& range, ...@@ -595,10 +595,6 @@ void SpellChecker::RemoveMarkers(const EphemeralRange& range,
GetFrame().GetDocument()->Markers().RemoveMarkersInRange(range, marker_types); GetFrame().GetDocument()->Markers().RemoveMarkersInRange(range, marker_types);
} }
void SpellChecker::CancelCheck() {
spell_check_requester_->CancelCheck();
}
void SpellChecker::DidAttachDocument(Document* document) { void SpellChecker::DidAttachDocument(Document* document) {
idle_spell_check_controller_->DidAttachDocument(document); idle_spell_check_controller_->DidAttachDocument(document);
} }
......
...@@ -81,7 +81,6 @@ class CORE_EXPORT SpellChecker final : public GarbageCollected<SpellChecker> { ...@@ -81,7 +81,6 @@ class CORE_EXPORT SpellChecker final : public GarbageCollected<SpellChecker> {
bool SelectionStartHasMarkerFor(DocumentMarker::MarkerType, bool SelectionStartHasMarkerFor(DocumentMarker::MarkerType,
int from, int from,
int length) const; int length) const;
void CancelCheck();
// Exposed for testing and idle time spell checker // Exposed for testing and idle time spell checker
SpellCheckRequester& GetSpellCheckRequester() const { SpellCheckRequester& GetSpellCheckRequester() const {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment