| Index: Source/web/WebLocalFrameImpl.cpp
|
| diff --git a/Source/web/WebLocalFrameImpl.cpp b/Source/web/WebLocalFrameImpl.cpp
|
| index e6cf59872f4c05426d3870e5c63e2357132f7596..fc72380926ee48d0a23e9f9c21971af66af8c458 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)
|
| +{
|
| + WTF::Vector<String> convertedWords(words.size());
|
| + convertedWords.resize(0);
|
| + std::copy(words.data(), words.data() + words.size(), std::begin(convertedWords));
|
| +
|
| + frame()->spellChecker().removeSpellingMarkersUnderWords(convertedWords);
|
| +}
|
| +
|
| WebLocalFrameImpl* WebLocalFrameImpl::activeMatchFrame() const
|
| {
|
| ASSERT(!parent());
|
|
|