Index: chrome/browser/ui/views/download_item_view.cc |
=================================================================== |
--- chrome/browser/ui/views/download_item_view.cc (revision 74080) |
+++ chrome/browser/ui/views/download_item_view.cc (working copy) |
@@ -498,7 +498,7 @@ |
// Draw status before button image to effectively lighten text. |
if (!IsDangerousMode()) { |
if (show_status_text_) { |
- int mirrored_x = MirroredXWithWidthInsideView( |
+ int mirrored_x = GetMirroredXWithWidthInView( |
download_util::kSmallProgressIconSize, kTextWidth); |
// Add font_.height() to compensate for title, which is drawn later. |
int y = box_y_ + kVerticalPadding + font_.GetHeight() + |
@@ -625,7 +625,7 @@ |
filename_string); |
} |
- int mirrored_x = MirroredXWithWidthInsideView( |
+ int mirrored_x = GetMirroredXWithWidthInView( |
download_util::kSmallProgressIconSize, kTextWidth); |
SkColor file_name_color = GetThemeProvider()->GetColor( |
BrowserThemeProvider::COLOR_BOOKMARK_TEXT); |
@@ -667,7 +667,7 @@ |
} |
// Draw the icon image. |
- int mirrored_x = MirroredXWithWidthInsideView( |
+ int mirrored_x = GetMirroredXWithWidthInView( |
download_util::kSmallProgressIconOffset, icon->width()); |
if (IsEnabled()) { |
canvas->DrawBitmapInt(*icon, mirrored_x, |