Index: chrome/browser/gtk/tabs/tab_renderer_gtk.cc |
=================================================================== |
--- chrome/browser/gtk/tabs/tab_renderer_gtk.cc (revision 21711) |
+++ chrome/browser/gtk/tabs/tab_renderer_gtk.cc (working copy) |
@@ -393,7 +393,13 @@ |
return bounds; |
} |
+gfx::Rect TabRendererGtk::GetRequisition() const { |
+ return gfx::Rect(requisition_.x(), requisition_.y(), |
+ requisition_.width(), requisition_.height()); |
+} |
+ |
void TabRendererGtk::SetBounds(const gfx::Rect& bounds) { |
+ requisition_ = bounds; |
gtk_widget_set_size_request(tab_.get(), bounds.width(), bounds.height()); |
} |