summaryrefslogtreecommitdiffstats
path: root/chrome/views/radio_button.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/views/radio_button.cc')
-rw-r--r--chrome/views/radio_button.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/views/radio_button.cc b/chrome/views/radio_button.cc
index 44a1935..1e860e7 100644
--- a/chrome/views/radio_button.cc
+++ b/chrome/views/radio_button.cc
@@ -30,7 +30,7 @@ HWND RadioButton::CreateNativeControl(HWND parent_container) {
L"BUTTON",
L"",
WS_CHILD | BS_RADIOBUTTON ,
- 0, 0, GetWidth(), GetHeight(),
+ 0, 0, width(), height(),
parent_container, NULL, NULL, NULL);
ConfigureNativeButton(r);
return r;
@@ -69,7 +69,7 @@ void RadioButton::GetPreferredSize(CSize *out) {
void RadioButton::Layout() {
int label_x = GetTextIndent();
- label_->SetBounds(label_x, 0, GetWidth() - label_x, GetHeight());
+ label_->SetBounds(label_x, 0, width() - label_x, height());
if (hwnd_view_) {
int first_line_height = label_->GetFont().height();
hwnd_view_->SetBounds(0, ((first_line_height - kRadioHeight) / 2) + 1,