Chromium Code Reviews| Index: sky/engine/core/html/ime/InputMethodContext.cpp |
| diff --git a/sky/engine/core/html/ime/InputMethodContext.cpp b/sky/engine/core/html/ime/InputMethodContext.cpp |
| index 0bbb5ac5a3d4550195c7a166d3e461bfb79286fc..5fe0d36baf0bc97b0ed83fddc3c37a63c521f7cd 100644 |
| --- a/sky/engine/core/html/ime/InputMethodContext.cpp |
| +++ b/sky/engine/core/html/ime/InputMethodContext.cpp |
| @@ -95,15 +95,6 @@ bool InputMethodContext::hasFocus() const |
| return element && element->isHTMLElement() && m_element == toHTMLElement(element); |
| } |
| -String InputMethodContext::compositionText() const |
|
ojan
2014/11/04 05:54:53
I'm a little surprised this is dead code. Is all o
|
| -{ |
| - if (!hasFocus()) |
| - return emptyString(); |
| - |
| - Text* text = inputMethodController().compositionNode(); |
| - return text ? text->wholeText() : emptyString(); |
| -} |
| - |
| CompositionUnderline InputMethodContext::selectedSegment() const |
| { |
| CompositionUnderline underline; |