| 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 b811c2136144bd8120cc0b2a29b8cf3717c65ffa..0067779aea2703a8658061caf2ebd4f0699ba28c 100644
|
| --- a/chrome/browser/ui/views/dropdown_bar_view.cc
|
| +++ b/chrome/browser/ui/views/dropdown_bar_view.cc
|
| @@ -111,11 +111,13 @@ void DropdownBarView::OnPaint(gfx::Canvas* canvas) {
|
|
|
| if (animation_offset() > 0) {
|
| gfx::Canvas animating_edges(
|
| - gfx::Size(bounds().width(), kAnimatingEdgeHeight), false);
|
| + gfx::Size(bounds().width(), kAnimatingEdgeHeight),
|
| + canvas->scale_factor(),
|
| + false);
|
| canvas->Translate(bounds().origin());
|
| OnPaintBackground(&animating_edges);
|
| OnPaintBorder(&animating_edges);
|
| - canvas->DrawImageInt(animating_edges.ExtractBitmap(), bounds().x(),
|
| + canvas->DrawImageInt(animating_edges.ExtractImageRep(), bounds().x(),
|
| animation_offset());
|
| }
|
| }
|
|
|