Patch 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. Review URL: http://codereview.chromium.org/8909013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114538 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment