summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/options/fonts_page_view.cc
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-17 22:25:33 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-17 22:25:33 +0000
commit6f3bb6ca5a2e423fc9dda71c164c7e8ae2a8eae7 (patch)
tree4ce1316dbfd179681bdff905a7d71f1b4cbb902c /chrome/browser/views/options/fonts_page_view.cc
parent4c45708be10906e3cdbe9d40d206cfd3fcbaf1c2 (diff)
downloadchromium_src-6f3bb6ca5a2e423fc9dda71c164c7e8ae2a8eae7.zip
chromium_src-6f3bb6ca5a2e423fc9dda71c164c7e8ae2a8eae7.tar.gz
chromium_src-6f3bb6ca5a2e423fc9dda71c164c7e8ae2a8eae7.tar.bz2
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
Diffstat (limited to 'chrome/browser/views/options/fonts_page_view.cc')
-rw-r--r--chrome/browser/views/options/fonts_page_view.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/views/options/fonts_page_view.cc b/chrome/browser/views/options/fonts_page_view.cc
index 0d9c559b..db44561 100644
--- a/chrome/browser/views/options/fonts_page_view.cc
+++ b/chrome/browser/views/options/fonts_page_view.cc
@@ -158,7 +158,7 @@ void FontDisplayView::SetFontType(const std::wstring& font_name,
void FontDisplayView::Paint(ChromeCanvas* canvas) {
HDC dc = canvas->beginPlatformPaint();
- RECT rect = { 0, 0, GetWidth(), GetHeight() };
+ RECT rect = { 0, 0, width(), height() };
gfx::NativeTheme::instance()->PaintTextField(
dc, EP_BACKGROUND, EBS_NORMAL, 0, &rect, ::GetSysColor(COLOR_3DFACE),
true, true);
@@ -166,7 +166,7 @@ void FontDisplayView::Paint(ChromeCanvas* canvas) {
}
void FontDisplayView::Layout() {
- font_text_label_->SetBounds(0, 0, GetWidth(), GetHeight());
+ font_text_label_->SetBounds(0, 0, width(), height());
}
void FontDisplayView::GetPreferredSize(CSize* out) {