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

Unified Diff: chrome/browser/ui/views/dropdown_bar_view.cc

Issue 9562038: ui/gfx: Make gfx::Canvas inherit from gfx::CanvasSkia. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more two win fixes Created 8 years, 9 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/dropdown_bar_view.cc
diff --git a/chrome/browser/ui/views/dropdown_bar_view.cc b/chrome/browser/ui/views/dropdown_bar_view.cc
index eccd360016455fff4ed6a764bf9054231557a780..640e8bf3b77f8d19db8753e53e1ac44b5a5b3a34 100644
--- a/chrome/browser/ui/views/dropdown_bar_view.cc
+++ b/chrome/browser/ui/views/dropdown_bar_view.cc
@@ -110,7 +110,7 @@ void DropdownBarView::OnPaint(gfx::Canvas* canvas) {
OnPaintBorder(canvas);
if (animation_offset() > 0) {
- gfx::CanvasSkia animating_edges(
+ gfx::Canvas animating_edges(
gfx::Size(bounds().width(), kAnimatingEdgeHeight), false);
canvas->Translate(bounds().origin());
OnPaintBackground(&animating_edges);

Powered by Google App Engine
This is Rietveld 408576698