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

Unified Diff: Source/core/frame/LocalFrame.cpp

Issue 419563003: Adding a word to dictionary should remove spelling markers (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased to a newer master Created 6 years, 4 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/frame/LocalFrame.cpp
diff --git a/Source/core/frame/LocalFrame.cpp b/Source/core/frame/LocalFrame.cpp
index f5be653bd5c854a168aaad92e7ef0a66680a7ab0..9a41e1ef6dbb2d99a4abf8a1a8f74ad31889c6cd 100644
--- a/Source/core/frame/LocalFrame.cpp
+++ b/Source/core/frame/LocalFrame.cpp
@@ -546,6 +546,11 @@ bool LocalFrame::isURLAllowed(const KURL& url) const
return true;
}
+void LocalFrame::removeSpellingMarkersUnderWords(const Vector<String>& words)
+{
+ spellChecker().removeSpellingMarkersUnderWords(words);
+}
+
struct ScopedFramePaintingState {
ScopedFramePaintingState(LocalFrame* frame, Node* node)
: frame(frame)

Powered by Google App Engine
This is Rietveld 408576698