diff options
author | xiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-20 20:02:51 +0000 |
---|---|---|
committer | xiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-20 20:02:51 +0000 |
commit | a3b8d979e2c8afa6f72998ad2dfdd95b3f9e577e (patch) | |
tree | fc345b44baa599a91ddc709ccd49036f80664d45 /app | |
parent | aefc7d0cbd7934115a15f1b5b4eb69664f30799a (diff) | |
download | chromium_src-a3b8d979e2c8afa6f72998ad2dfdd95b3f9e577e.zip chromium_src-a3b8d979e2c8afa6f72998ad2dfdd95b3f9e577e.tar.gz chromium_src-a3b8d979e2c8afa6f72998ad2dfdd95b3f9e577e.tar.bz2 |
Defer WidgetGtk's focus manager destruction
This is for the case when a WidgetGtk is hosted in another WidgtGtk and
holds a reference to its focus manager. When hosting widget is destroied,
it gets the "destroy" signal before the contained widget and
thus schedules its destruction before the contained widget. And currently,
we are not clearing the focus manager reference in another root view and
when contained widget destructs, we crash. By changing focus manager's
release into another message, the focus manager remains valid during
contained widget destruction.
BUG=none
TEST=In ChromeOS, bring up options dialog and then click on buttons such as language settings, networ config etc. Then dismiss the options dialog and Chrome should not crash.
Review URL: http://codereview.chromium.org/1661003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45071 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app')
0 files changed, 0 insertions, 0 deletions