summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/views/about_chrome_view.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/views/about_chrome_view.cc b/chrome/browser/views/about_chrome_view.cc
index fd60495..391ce6a 100644
--- a/chrome/browser/views/about_chrome_view.cc
+++ b/chrome/browser/views/about_chrome_view.cc
@@ -310,7 +310,7 @@ void AboutChromeView::Init() {
terms_of_service_url_->SetController(this);
// Add the Terms of Service line and some whitespace.
- height += font.height() + kRelatedControlVerticalSpacing;
+ height += font.GetHeight() + kRelatedControlVerticalSpacing;
#endif
// Use whichever is greater (the calculated height or the specified minimum
@@ -466,7 +466,7 @@ void AboutChromeView::Paint(gfx::Canvas* canvas) {
#if defined(GOOGLE_CHROME_BUILD)
// Insert a line break and some whitespace.
position.set_width(0);
- position.Enlarge(0, font.height() + kRelatedControlVerticalSpacing);
+ position.Enlarge(0, font.GetHeight() + kRelatedControlVerticalSpacing);
// And now the Terms of Service and position the TOS url.
view_text_utils::DrawTextAndPositionUrl(canvas, main_text_label_,