summaryrefslogtreecommitdiffstats
path: root/chrome/views/native_button.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/views/native_button.cc')
-rw-r--r--chrome/views/native_button.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/views/native_button.cc b/chrome/views/native_button.cc
index fc7f409..2db380b 100644
--- a/chrome/views/native_button.cc
+++ b/chrome/views/native_button.cc
@@ -82,7 +82,7 @@ HWND NativeButton::CreateNativeControl(HWND parent_container) {
if (is_default_)
flags |= BS_DEFPUSHBUTTON;
HWND r = ::CreateWindowEx(GetAdditionalExStyle(), L"BUTTON", L"", flags, 0, 0,
- GetWidth(), GetHeight(), parent_container, NULL,
+ width(), height(), parent_container, NULL,
NULL, NULL);
SendMessage(r, WM_SETFONT, reinterpret_cast<WPARAM>(font_.hfont()), FALSE);
ConfigureNativeButton(r);