| Index: chrome/browser/ui/views/download/download_item_view.cc
|
| diff --git a/chrome/browser/ui/views/download/download_item_view.cc b/chrome/browser/ui/views/download/download_item_view.cc
|
| index c37cc915edbedfe1cde8178ec36406bd83fe7d2a..7cf72d03ec78b359d0465db6b1c7bbccfc795588 100644
|
| --- a/chrome/browser/ui/views/download/download_item_view.cc
|
| +++ b/chrome/browser/ui/views/download/download_item_view.cc
|
| @@ -830,8 +830,8 @@ void DownloadItemView::OnPaint(gfx::Canvas* canvas) {
|
|
|
| // Draw the file's name.
|
| canvas->DrawStringInt(filename, font_,
|
| - IsEnabled() ? file_name_color :
|
| - kFileNameDisabledColor,
|
| + enabled() ? file_name_color
|
| + : kFileNameDisabledColor,
|
| mirrored_x, y, kTextWidth, font_.GetHeight());
|
| }
|
|
|
| @@ -883,7 +883,7 @@ void DownloadItemView::OnPaint(gfx::Canvas* canvas) {
|
| icon_y = download_util::kSmallProgressIconOffset;
|
| }
|
| icon_x = GetMirroredXWithWidthInView(icon_x, icon->width());
|
| - if (IsEnabled()) {
|
| + if (enabled()) {
|
| canvas->DrawBitmapInt(*icon, icon_x, icon_y);
|
| } else {
|
| // Use an alpha to make the image look disabled.
|
|
|