Chromium Code Reviews
DescriptionEnsure that MenuGtks are destroyed before their accelerator group.
When a MenuGtk is created, it is passed a GtkAccelGroup. Previously the GtkMenu widgets were destroyed after the browser window, which was the owner of the GtkAccelGroup. Make the toolbar own a reference to the GtkAccelGroup, and teardown all GtkMenus that reference it beforehand.
Some MenuGtk cleanup while debugging the problem.
BUG=8866
Patch Set 1 #Patch Set 2 : Merge to trunk. #
Total comments: 2
Patch Set 3 : reinterpretcast #
Messages
Total messages: 5 (0 generated)
|
|||||||||||||||||||||||||||||||||||||