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

Unified Diff: chrome/views/focus_manager.cc

Issue 21535: An experimental fix for Issue 7707.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/views/focus_manager.cc
===================================================================
--- chrome/views/focus_manager.cc (revision 10251)
+++ chrome/views/focus_manager.cc (working copy)
@@ -191,6 +191,13 @@
if (RerouteMouseWheel(window, wParam, lParam))
return 0;
break;
+ case WM_IME_CHAR:
+ // Issue 7707: A rich-edit control may crash when it receives a
+ // WM_IME_CHAR message while it is processing a WM_IME_COMPOSITION
+ // message. Since view controls don't need WM_IME_CHAR messages,
+ // we prevent WM_IME_CHAR messages from being dispatched to view
+ // controls via the CallWindowProc() call.
+ return 0;
default:
break;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698