summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
authormirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-05 20:01:59 +0000
committermirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-05 20:01:59 +0000
commit742ea1580733119c65508a13fe8bc368c868d3d1 (patch)
tree60e902786cad0450e0ecd2273ab33239e7c15c1b /chrome/browser
parent94a275dc9b8f36b33172f31ff83ecac83480ad76 (diff)
downloadchromium_src-742ea1580733119c65508a13fe8bc368c868d3d1.zip
chromium_src-742ea1580733119c65508a13fe8bc368c868d3d1.tar.gz
chromium_src-742ea1580733119c65508a13fe8bc368c868d3d1.tar.bz2
Update Flash EULA positioning code to use new view_text_utils instead of old local method. TBR=finnur
BUG= none TEST= chrome for chromeos about box looks fine. Review URL: http://codereview.chromium.org/1615004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43643 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/views/about_chrome_view.cc13
1 files changed, 7 insertions, 6 deletions
diff --git a/chrome/browser/views/about_chrome_view.cc b/chrome/browser/views/about_chrome_view.cc
index 2004ac0..2939827 100644
--- a/chrome/browser/views/about_chrome_view.cc
+++ b/chrome/browser/views/about_chrome_view.cc
@@ -495,13 +495,14 @@ void AboutChromeView::Paint(gfx::Canvas* canvas) {
position.set_width(0);
position.Enlarge(0, font.height());
- // And now the Flash EULA and position the its url.
- DrawTextAndPositionUrl(canvas, main_label_chunk6_, adobe_flash_eula_url_,
- &adobe_flash_eula_url_rect_, &position, label_bounds,
- font);
+ // And now the Flash EULA and position its url.
+ view_text_utils::DrawTextAndPositionUrl(canvas, main_text_label_,
+ main_label_chunk6_, adobe_flash_eula_url_, &adobe_flash_eula_url_rect_,
+ &position, text_direction_is_rtl_, label_bounds, font);
// The last text chunk doesn't have a URL associated with it.
- DrawTextAndPositionUrl(canvas, main_label_chunk7_, NULL, NULL, &position,
- label_bounds, font);
+ view_text_utils::DrawTextAndPositionUrl(canvas, main_text_label_,
+ main_label_chunk7_, NULL, NULL, &position, text_direction_is_rtl_,
+ label_bounds, font);
// Position the EULA URL within the main label.
adobe_flash_eula_url_->SetBounds(adobe_flash_eula_url_rect_.x(),