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 df10703544a33e2ce1d019202d94a22f391e0976..95d380e5a32a995fe5f0a5efffc63adae8b2bc26 100644 |
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
@@ -947,19 +947,6 @@ void WebLocalFrameImpl::replaceSelection(const WebString& text) |
frame()->editor().replaceSelectionWithText(text, selectReplacement, smartReplace); |
} |
-void WebLocalFrameImpl::insertText(const WebString& text) |
-{ |
- if (frame()->inputMethodController().hasComposition()) { |
- // TODO(xiaochengh): The use of updateStyleAndLayoutIgnorePendingStylesheets |
- // needs to be audited. See http://crbug.com/590369 for more details. |
- frame()->document()->updateStyleAndLayoutIgnorePendingStylesheets(); |
- |
- frame()->inputMethodController().confirmComposition(text); |
- } else { |
- frame()->editor().insertText(text, 0); |
- } |
-} |
- |
void WebLocalFrameImpl::setMarkedText(const WebString& text, unsigned location, unsigned length) |
{ |
Vector<CompositionUnderline> decorations; |