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

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

Issue 9021046: Pass const gfx::Rect& as the first parameter to FillRect. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: one more fix Created 8 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_shelf_view.cc
diff --git a/chrome/browser/ui/views/download/download_shelf_view.cc b/chrome/browser/ui/views/download/download_shelf_view.cc
index 7a04d9a4e03be60a4013542d0a46d3e0beb2f4dc..89495c1c99a09252736ea022a42c95b683fa1813 100644
--- a/chrome/browser/ui/views/download/download_shelf_view.cc
+++ b/chrome/browser/ui/views/download/download_shelf_view.cc
@@ -174,7 +174,7 @@ void DownloadShelfView::OnPaint(gfx::Canvas* canvas) {
}
void DownloadShelfView::OnPaintBorder(gfx::Canvas* canvas) {
- canvas->FillRect(kBorderColor, gfx::Rect(0, 0, width(), 1));
+ canvas->FillRect(gfx::Rect(0, 0, width(), 1), kBorderColor);
}
void DownloadShelfView::OpenedDownload(DownloadItemView* view) {
« no previous file with comments | « chrome/browser/ui/views/detachable_toolbar_view.cc ('k') | chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698