summaryrefslogtreecommitdiffstats
path: root/chrome/views/grid_layout.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/views/grid_layout.cc')
-rw-r--r--chrome/views/grid_layout.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/views/grid_layout.cc b/chrome/views/grid_layout.cc
index 18f7ba0..e0c7257 100644
--- a/chrome/views/grid_layout.cc
+++ b/chrome/views/grid_layout.cc
@@ -765,7 +765,7 @@ void GridLayout::Layout(View* host) {
// SizeRowsAndColumns sets the size and location of each row/column, but
// not of the views.
CSize pref;
- SizeRowsAndColumns(true, host_->GetWidth(), host_->GetHeight(), &pref);
+ SizeRowsAndColumns(true, host_->width(), host_->height(), &pref);
// Size each view.
for (std::vector<ViewState*>::iterator i = view_states_.begin();