diff options
author | hbono@chromium.org <hbono@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-05 02:41:29 +0000 |
---|---|---|
committer | hbono@chromium.org <hbono@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-05 02:41:29 +0000 |
commit | a9358722ff8a3955c5b4a7430fc16af314653d50 (patch) | |
tree | c87fdd32e46ce7d808bbc9afa531ae7157f56592 /chrome/renderer/render_view.cc | |
parent | 2670f448c7e692f0c3be8a2bfc01b2445447ae0e (diff) | |
download | chromium_src-a9358722ff8a3955c5b4a7430fc16af314653d50.zip chromium_src-a9358722ff8a3955c5b4a7430fc16af314653d50.tar.gz chromium_src-a9358722ff8a3955c5b4a7430fc16af314653d50.tar.bz2 |
A workaround fix for Issue 6971.
This is a workaround for Issue 6971 "Chrome crashes if Javascript dynamically clears an input field while user attempts to type Korean into that field."
To prevent this crash, this code verifies if the parent nodes of an IME composition node exist and are editable before updating the composition node.
This change also changes an Editor::completeComposition() call to an Editor::setComposition() call to emulate the behavior of Safari. It seems Safari calls the Editor::setComposition() function when it cancels an ongoing composition.
Review URL: http://codereview.chromium.org/19619
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9208 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/render_view.cc')
0 files changed, 0 insertions, 0 deletions