Index: Source/WebKit/chromium/src/WebFrameImpl.cpp |
diff --git a/Source/WebKit/chromium/src/WebFrameImpl.cpp b/Source/WebKit/chromium/src/WebFrameImpl.cpp |
index 613eb5fa5793aa265667b18a8b9671810049ff31..90047d0c7d8cc456ddb806502d8b62271d7da3c4 100644 |
--- a/Source/WebKit/chromium/src/WebFrameImpl.cpp |
+++ b/Source/WebKit/chromium/src/WebFrameImpl.cpp |
@@ -1293,6 +1293,11 @@ void WebFrameImpl::replaceMisspelledRange(const WebString& text) |
frame()->editor()->replaceSelectionWithText(text, false, false); |
} |
+void WebFrameImpl::removeSpellingMarkers() |
+{ |
+ frame()->document()->markers()->removeMarkers(DocumentMarker::Spelling | DocumentMarker::Grammar); |
+} |
+ |
bool WebFrameImpl::hasSelection() const |
{ |
WebPluginContainerImpl* pluginContainer = pluginContainerFromFrame(frame()); |