| Index: Source/WebKit/chromium/src/WebViewImpl.cpp
|
| ===================================================================
|
| --- Source/WebKit/chromium/src/WebViewImpl.cpp (revision 143775)
|
| +++ Source/WebKit/chromium/src/WebViewImpl.cpp (working copy)
|
| @@ -2151,8 +2151,15 @@
|
| if (focusedFrame) {
|
| // Finish an ongoing composition to delete the composition node.
|
| Editor* editor = focusedFrame->editor();
|
| - if (editor && editor->hasComposition())
|
| + if (editor && editor->hasComposition()) {
|
| + if (m_autofillClient)
|
| + m_autofillClient->setIgnoreTextChanges(true);
|
| +
|
| editor->confirmComposition();
|
| +
|
| + if (m_autofillClient)
|
| + m_autofillClient->setIgnoreTextChanges(false);
|
| + }
|
| m_imeAcceptEvents = false;
|
| }
|
| }
|
|
|