Unregister itself from TSFBridge when RWHVW WillWmDestroy() is called.
commitc5cd63941b783ac75fd56473da600fd5bfcbfce9
authorkochi@chromium.org <kochi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 7 Jun 2013 08:57:39 +0000 (7 08:57 +0000)
committerkochi@chromium.org <kochi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 7 Jun 2013 08:57:39 +0000 (7 08:57 +0000)
tree881730fe816e9c9ae20579bf660176bf23867202
parent70a4543ce19df29a3944e8e9573a065256210e8e
Unregister itself from TSFBridge when RWHVW WillWmDestroy() is called.
Usually unregistration is done in OnKillFocus(), but unregister as well just in case it is destroyed without losing focus (e.g. close button).

This is a fix for crash caused by crrev.com/201479 (already reverted).

BUG=239690, 244453
R=piman@chromium.org

Review URL: https://codereview.chromium.org/16359003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204767 0039d316-1c4b-4281-b951-d872f2087c98
content/browser/renderer_host/render_widget_host_view_win.cc