summaryrefslogtreecommitdiffstats
path: root/chrome/views/separator.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/views/separator.cc')
-rw-r--r--chrome/views/separator.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/views/separator.cc b/chrome/views/separator.cc
index fc34705..0c9c6fa 100644
--- a/chrome/views/separator.cc
+++ b/chrome/views/separator.cc
@@ -23,7 +23,7 @@ HWND Separator::CreateNativeControl(HWND parent_container) {
return ::CreateWindowEx(GetAdditionalExStyle(), L"STATIC", L"",
WS_CHILD | SS_ETCHEDHORZ | SS_SUNKEN,
- 0, 0, GetWidth(), GetHeight(),
+ 0, 0, width(), height(),
parent_container, NULL, NULL, NULL);
}
@@ -33,7 +33,7 @@ LRESULT Separator::OnNotify(int w_param, LPNMHDR l_param) {
void Separator::GetPreferredSize(CSize* out) {
DCHECK(out);
- out->cx = GetWidth();
+ out->cx = width();
out->cy = fixed_height_;
}