Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(134)

Unified Diff: Source/WebKit/chromium/src/WebViewImpl.cpp

Issue 12340032: Merge 142927 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1410/
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/WebKit/chromium/public/WebAutofillClient.h ('k') | Source/WebKit/chromium/tests/WebViewTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
}
« no previous file with comments | « Source/WebKit/chromium/public/WebAutofillClient.h ('k') | Source/WebKit/chromium/tests/WebViewTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698