Index: ui/views/controls/table/table_view.h |
diff --git a/ui/views/controls/table/table_view.h b/ui/views/controls/table/table_view.h |
index 9e5ac02b2073976f32ac2beecb04d65cdca077ba..3c2e954e7379ee768e3df6b6616356fd94ab4ec5 100644 |
--- a/ui/views/controls/table/table_view.h |
+++ b/ui/views/controls/table/table_view.h |
@@ -341,8 +341,12 @@ |
int row_height_; |
- // The last width for which column sizes were calculated. |
- int last_layout_width_; |
+ // Width of the ScrollView last time Layout() was invoked. Used to determine |
+ // when we should invoke UpdateVisibleColumnSizes(). |
+ int last_parent_width_; |
+ |
+ // The width we layout to. This may differ from |last_parent_width_|. |
+ int layout_width_; |
// Current sort. |
SortDescriptors sort_descriptors_; |