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

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

Issue 2697663002: Clean up naming of paint-related identifiers (Closed)
Patch Set: Rebase Created 3 years, 10 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 0e6a322dff527d0ae3fc144d134a14c1de5a257e..fa2eff196f3d24b0b0a1132d49fcfb07c4d7476d 100644
--- a/chrome/browser/ui/views/download/download_item_view.cc
+++ b/chrome/browser/ui/views/download/download_item_view.cc
@@ -730,11 +730,11 @@ void DownloadItemView::DrawIcon(gfx::Canvas* canvas) {
// Draw the icon image.
int icon_x = progress_x + DownloadShelf::kFiletypeIconOffset;
int icon_y = progress_y + DownloadShelf::kFiletypeIconOffset;
- cc::PaintFlags paint;
+ cc::PaintFlags flags;
// Use an alpha to make the image look disabled.
if (!enabled())
- paint.setAlpha(120);
- canvas->DrawImageInt(*icon->ToImageSkia(), icon_x, icon_y, paint);
+ flags.setAlpha(120);
+ canvas->DrawImageInt(*icon->ToImageSkia(), icon_x, icon_y, flags);
}
void DownloadItemView::OnFocus() {
« no previous file with comments | « chrome/browser/ui/views/create_application_shortcut_view.cc ('k') | chrome/browser/ui/views/frame/browser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698