Index: ui/views/controls/table/table_view.cc |
diff --git a/ui/views/controls/table/table_view.cc b/ui/views/controls/table/table_view.cc |
index f1a06f42a84060b049c9ef0422f559a0820994f2..e5120d492956f504e9478377a1481869a655e73b 100644 |
--- a/ui/views/controls/table/table_view.cc |
+++ b/ui/views/controls/table/table_view.cc |
@@ -318,7 +318,7 @@ void TableView::Layout() { |
SetBounds(x(), y(), width, height); |
} |
-gfx::Size TableView::GetPreferredSize() { |
+gfx::Size TableView::GetPreferredSize() const { |
int width = 50; |
if (header_ && !visible_columns_.empty()) |
width = visible_columns_.back().x + visible_columns_.back().width; |