From 6f3bb6ca5a2e423fc9dda71c164c7e8ae2a8eae7 Mon Sep 17 00:00:00 2001 From: "erg@google.com" Date: Wed, 17 Sep 2008 22:25:33 +0000 Subject: Rename legacy methods that were in CamelCase to unix_hacker. Required going through and modifying some of the code to solve name clashes. Review URL: http://codereview.chromium.org/2945 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2337 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/views/options/options_group_view.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'chrome/browser/views/options/options_group_view.cc') 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); } } -- cgit v1.1