Index: Source/web/WebLocalFrameImpl.cpp |
diff --git a/Source/web/WebLocalFrameImpl.cpp b/Source/web/WebLocalFrameImpl.cpp |
index b052ed726f259bcd1677e81f63d0948ac1b6407a..1c53c35afbbdd4b68553aa2728463c7ef7e6bc03 100644 |
--- a/Source/web/WebLocalFrameImpl.cpp |
+++ b/Source/web/WebLocalFrameImpl.cpp |
@@ -1833,6 +1833,15 @@ void WebLocalFrameImpl::willDetachParent() |
} |
} |
+void WebLocalFrameImpl::removeSpellingMarkersUnderWords(const WebVector<WebString>& words) |
+{ |
+ Vector<String> transformedWords(words.size()); |
+ for (size_t i = 0; i < words.size(); ++i) |
+ transformedWords[i] = static_cast<String>(words[i]); |
dcheng
2014/08/05 20:30:39
Why do you need the static cast? WebString should
Klemen Forstnerič
2014/08/07 17:47:28
Done.
|
+ |
+ frame()->spellChecker().removeSpellingMarkersUnderWords(transformedWords); |
+} |
+ |
WebLocalFrameImpl* WebLocalFrameImpl::activeMatchFrame() const |
{ |
ASSERT(!parent()); |