| Index: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp | 
| diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp | 
| index 9672566fe529b0560898a9a17ef532915fc524ee..2f4e4f49ced82831e9b79beafebb3783f22002e0 100644 | 
| --- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp | 
| +++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp | 
| @@ -1226,6 +1226,16 @@ void WebLocalFrameImpl::extendSelectionAndDelete(int before, int after) | 
| frame()->inputMethodController().extendSelectionAndDelete(before, after); | 
| } | 
|  | 
| +void WebLocalFrameImpl::deleteSurroundingText(int before, int after) | 
| +{ | 
| +    TRACE_EVENT0("blink", "WebLocalFrameImpl::deleteSurroundingText"); | 
| +    if (WebPlugin* plugin = focusedPluginIfInputMethodSupported()) { | 
| +        plugin->deleteSurroundingText(before, after); | 
| +        return; | 
| +    } | 
| +    frame()->inputMethodController().deleteSurroundingText(before, after); | 
| +} | 
| + | 
| void WebLocalFrameImpl::setCaretVisible(bool visible) | 
| { | 
| frame()->selection().setCaretVisible(visible); | 
|  |