Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(397)

Unified Diff: chrome/browser/ui/views/download/download_item_view.cc

Issue 2640983002: Rename paint data structures (Closed)
Patch Set: Clean up comments, fix mac build Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 7533489bebeacff63aeba1c497e16b58ab734f57..0e6a322dff527d0ae3fc144d134a14c1de5a257e 100644
--- a/chrome/browser/ui/views/download/download_item_view.cc
+++ b/chrome/browser/ui/views/download/download_item_view.cc
@@ -730,7 +730,7 @@ void DownloadItemView::DrawIcon(gfx::Canvas* canvas) {
// Draw the icon image.
int icon_x = progress_x + DownloadShelf::kFiletypeIconOffset;
int icon_y = progress_y + DownloadShelf::kFiletypeIconOffset;
- SkPaint paint;
+ cc::PaintFlags paint;
// Use an alpha to make the image look disabled.
if (!enabled())
paint.setAlpha(120);

Powered by Google App Engine
This is Rietveld 408576698