DescriptionPatch AvatarMenuBubbleView crash; only SizeToContents if GetBubbleFrameView.
Showing the avatar menu crashes after crrev.com/114330.
SizeToContents was called before BubbleFrameView init.
This workaround checks GetBubbleFrameView before calling SizeToContents.
Also, run OnAvatarMenuModelChanged on Init, not ctor.
BUG=106989, 107574
TEST=No crash and doesn't regress crbug.com/106989.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=114538
Patch Set 1 #Patch Set 2 : Run OnAvatarMenuModelChanged on Init, not ctor. #
Total comments: 1
Messages
Total messages: 8 (0 generated)
|