summaryrefslogtreecommitdiffstats
path: root/views/controls/native_control_gtk.cc
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-07 22:39:03 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-07 22:39:03 +0000
commit9b7f9ae5175762408d10f544e2dba412ac31519f (patch)
tree2a90b890a45f1dfde76834917fea090377d49638 /views/controls/native_control_gtk.cc
parent977a7405264468996361d424faeb861411ddb878 (diff)
downloadchromium_src-9b7f9ae5175762408d10f544e2dba412ac31519f.zip
chromium_src-9b7f9ae5175762408d10f544e2dba412ac31519f.tar.gz
chromium_src-9b7f9ae5175762408d10f544e2dba412ac31519f.tar.bz2
Fixes possible crash in menus on views/gtk. The crash would happen if
between the time we called into the model when the user selected an item and the time MessageLoop::Quit is processed the menu was destroyed, we would crash. As MessageLoop::Quit isn't immediate, and we really don't want to call out from a nested message loop, we wait until the quit is processed, then notify the model. CROS_BUG=1108 TEST=see bug Review URL: http://codereview.chromium.org/521063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35746 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/controls/native_control_gtk.cc')
0 files changed, 0 insertions, 0 deletions