summaryrefslogtreecommitdiffstats
path: root/chrome/views/table_view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/views/table_view.cc')
-rw-r--r--chrome/views/table_view.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/views/table_view.cc b/chrome/views/table_view.cc
index 6d1bc60..ab4d717 100644
--- a/chrome/views/table_view.cc
+++ b/chrome/views/table_view.cc
@@ -83,7 +83,7 @@ void TableView::DidChangeBounds(const CRect& previous,
return;
SendMessage(list_view_, WM_SETREDRAW, static_cast<WPARAM>(FALSE), 0);
Layout();
- if ((!sized_columns_ || autosize_columns_) && GetWidth() > 0) {
+ if ((!sized_columns_ || autosize_columns_) && width() > 0) {
sized_columns_ = true;
ResetColumnSizes();
}
@@ -458,7 +458,7 @@ HWND TableView::CreateNativeControl(HWND parent_container) {
WC_LISTVIEW,
L"",
style,
- 0, 0, GetWidth(), GetHeight(),
+ 0, 0, width(), height(),
parent_container, NULL, NULL, NULL);
model_->SetObserver(this);