| Index: chrome/browser/ui/gtk/avatar_menu_button_gtk.cc
|
| diff --git a/chrome/browser/ui/gtk/avatar_menu_button_gtk.cc b/chrome/browser/ui/gtk/avatar_menu_button_gtk.cc
|
| index 4de40701708bb545c44802336e6ecde50f1f455d..411f721afde9d7ed30807b71061684389adde246 100644
|
| --- a/chrome/browser/ui/gtk/avatar_menu_button_gtk.cc
|
| +++ b/chrome/browser/ui/gtk/avatar_menu_button_gtk.cc
|
| @@ -67,7 +67,9 @@ void AvatarMenuButtonGtk::UpdateButtonIcon() {
|
| if (!icon_.get())
|
| return;
|
|
|
| - old_height_ = widget()->allocation.height;
|
| + GtkAllocation allocation;
|
| + gtk_widget_get_allocation(widget(), &allocation);
|
| + old_height_ = allocation.height;
|
| gfx::Image icon = profiles::GetAvatarIconForTitleBar(*icon_, is_gaia_picture_,
|
| profiles::kAvatarIconWidth, old_height_);
|
| gtk_image_set_from_pixbuf(GTK_IMAGE(image_), icon.ToGdkPixbuf());
|
|
|