Index: chrome/browser/ui/gtk/location_bar_view_gtk.cc |
diff --git a/chrome/browser/ui/gtk/location_bar_view_gtk.cc b/chrome/browser/ui/gtk/location_bar_view_gtk.cc |
index 72960662557047a3ab96d644fb7abc175db58885..18139c707a2150f2a55e3fd1cda7708d608eeab9 100644 |
--- a/chrome/browser/ui/gtk/location_bar_view_gtk.cc |
+++ b/chrome/browser/ui/gtk/location_bar_view_gtk.cc |
@@ -1389,7 +1389,9 @@ gboolean LocationBarViewGtk::ContentSettingImageViewGtk::OnExpose( |
if (!(animation_.IsShowing() || animation_.IsClosing())) |
return FALSE; |
- const int height = sender->allocation.height; |
+ GtkAllocation allocation; |
+ gtk_widget_get_allocation(sender, &allocation); |
+ const int height = allocation.height; |
cairo_t* cr = gdk_cairo_create(GDK_DRAWABLE(sender->window)); |
gdk_cairo_rectangle(cr, &event->area); |