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

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

Issue 9562038: ui/gfx: Make gfx::Canvas inherit from gfx::CanvasSkia. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more fixes Created 8 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_shelf_view.h
diff --git a/chrome/browser/ui/views/download/download_shelf_view.h b/chrome/browser/ui/views/download/download_shelf_view.h
index da55a8a5867723dcc4a22b718a274fc9fcaf0e81..53ef5abc7779a037d2524e72a3412930325c1400 100644
--- a/chrome/browser/ui/views/download/download_shelf_view.h
+++ b/chrome/browser/ui/views/download/download_shelf_view.h
@@ -55,7 +55,7 @@ class DownloadShelfView : public views::AccessiblePaneView,
virtual void ViewHierarchyChanged(bool is_add,
View* parent,
View* child) OVERRIDE;
- virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
+ virtual void OnPaint(gfx::CanvasSkia* canvas) OVERRIDE;
// Implementation of ui::AnimationDelegate.
virtual void AnimationProgressed(const ui::Animation* animation) OVERRIDE;
@@ -105,7 +105,7 @@ class DownloadShelfView : public views::AccessiblePaneView,
void AddDownloadView(DownloadItemView* view);
// Paints the border.
- virtual void OnPaintBorder(gfx::Canvas* canvas) OVERRIDE;
+ virtual void OnPaintBorder(gfx::CanvasSkia* canvas) OVERRIDE;
// Returns true if the shelf is wide enough to show the first download item.
bool CanFitFirstDownloadItem();

Powered by Google App Engine
This is Rietveld 408576698