summaryrefslogtreecommitdiffstats
path: root/WebKit/chromium/src/EditorClientImpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/chromium/src/EditorClientImpl.cpp')
-rw-r--r--WebKit/chromium/src/EditorClientImpl.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/WebKit/chromium/src/EditorClientImpl.cpp b/WebKit/chromium/src/EditorClientImpl.cpp
index 4eda1f6..2a40d78 100644
--- a/WebKit/chromium/src/EditorClientImpl.cpp
+++ b/WebKit/chromium/src/EditorClientImpl.cpp
@@ -921,8 +921,13 @@ void EditorClientImpl::getGuessesForWord(const String&,
void EditorClientImpl::setInputMethodState(bool enabled)
{
- if (m_webView->client())
+ if (m_webView->client()) {
+ m_webView->client()->resetInputMethod();
+
+ // Remove this line when WebViewClient::setInputMethodEnabled() gets
+ // removed.
m_webView->client()->setInputMethodEnabled(enabled);
+ }
}
} // namesace WebKit