Index: chrome/browser/ui/views/dropdown_bar_view.cc |
=================================================================== |
--- chrome/browser/ui/views/dropdown_bar_view.cc (revision 147935) |
+++ chrome/browser/ui/views/dropdown_bar_view.cc (working copy) |
@@ -111,13 +111,11 @@ |
if (animation_offset() > 0) { |
gfx::Canvas animating_edges( |
- gfx::Size(bounds().width(), kAnimatingEdgeHeight), |
- canvas->scale_factor(), |
- false); |
+ gfx::Size(bounds().width(), kAnimatingEdgeHeight), false); |
canvas->Translate(bounds().origin()); |
OnPaintBackground(&animating_edges); |
OnPaintBorder(&animating_edges); |
- canvas->DrawImageInt(animating_edges.ExtractImageRep(), bounds().x(), |
+ canvas->DrawImageInt(animating_edges.ExtractBitmap(), bounds().x(), |
animation_offset()); |
} |
} |