summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/options/options_group_view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/options/options_group_view.cc')
-rw-r--r--chrome/browser/views/options/options_group_view.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/views/options/options_group_view.cc b/chrome/browser/views/options/options_group_view.cc
index d905d2b..5dbe96a 100644
--- a/chrome/browser/views/options/options_group_view.cc
+++ b/chrome/browser/views/options/options_group_view.cc
@@ -56,7 +56,7 @@ void OptionsGroupView::SetHighlighted(bool highlighted) {
}
int OptionsGroupView::GetContentsWidth() const {
- return contents_->GetWidth();
+ return contents_->width();
}
///////////////////////////////////////////////////////////////////////////////
@@ -69,8 +69,8 @@ void OptionsGroupView::Paint(ChromeCanvas* canvas) {
GetGValue(infocolor),
GetBValue(infocolor));
int y_offset = kUnrelatedControlVerticalSpacing / 2;
- canvas->FillRectInt(background_color, 0, 0, GetWidth(),
- GetHeight() - y_offset);
+ canvas->FillRectInt(background_color, 0, 0, width(),
+ height() - y_offset);
}
}