Index: chrome/browser/views/about_chrome_view.cc |
diff --git a/chrome/browser/views/about_chrome_view.cc b/chrome/browser/views/about_chrome_view.cc |
old mode 100644 |
new mode 100755 |
index 63fabce096da6ddb05938fe99d7db8935595cc62..c4b2fdd5b656ca9b61828dd71136fb4ab0063fa8 |
--- a/chrome/browser/views/about_chrome_view.cc |
+++ b/chrome/browser/views/about_chrome_view.cc |
@@ -486,8 +486,13 @@ void AboutChromeView::DrawTextAndPositionUrl(gfx::Canvas* canvas, |
gfx::Size sz = link->GetPreferredSize(); |
gfx::Insets insets = link->GetInsets(); |
WrapIfWordDoesntFit(sz.width(), font.height(), position, bounds); |
- *rect = gfx::Rect(position->width(), position->height() - insets.top(), |
- sz.width(), sz.height()); |
+ int x = position->width(); |
+ int y = position->height(); |
Evan Stade
2009/10/23 18:06:29
is there a functional change here?
DaveMoore
2009/10/23 18:11:10
No...making it more readable.
|
+ |
+ // Links have a border to allow them to be focused. |
+ y -= insets.top(); |
+ |
+ *rect = gfx::Rect(x, y, sz.width(), sz.height()); |
// Go from relative pixel coordinates (within the label we are drawing on) |
// to absolute pixel coordinates (relative to the top left corner of the |