Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(193)

Unified Diff: chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox.cc

Issue 9147044: GTK: More GSEALing. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: jhawkins refactor Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.cc ('k') | chrome/browser/ui/gtk/gtk_custom_menu.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox.cc
diff --git a/chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox.cc b/chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox.cc
index 138ba39109d46dd691cb370b7ed57d0558464d55..32a6ba5deec011bb43229e27eab1cebde845d7c4 100644
--- a/chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox.cc
+++ b/chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox.cc
@@ -51,7 +51,8 @@ void ChildSizeAllocate(GtkWidget* child, gpointer userdata) {
return;
SizeAllocateData* data = reinterpret_cast<SizeAllocateData*>(userdata);
- GtkAllocation child_allocation = child->allocation;
+ GtkAllocation child_allocation;
+ gtk_widget_get_allocation(child, &child_allocation);
if (data->homogeneous) {
// Make sure the child is not overlapped with others' boundary.
« no previous file with comments | « chrome/browser/ui/gtk/fullscreen_exit_bubble_gtk.cc ('k') | chrome/browser/ui/gtk/gtk_custom_menu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698