| Index: chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc
|
| diff --git a/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc b/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc
|
| index c85b9541968a4dbeb1546becc736a5c903e841e4..490883319d5dae92b8532e3da15f7b4d7f7f0915 100644
|
| --- a/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc
|
| +++ b/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc
|
| @@ -73,6 +73,7 @@
|
| #include "ui/base/theme_provider.h"
|
| #include "ui/base/window_open_disposition.h"
|
| #include "ui/compositor/paint_context.h"
|
| +#include "ui/compositor/paint_recorder.h"
|
| #include "ui/gfx/animation/slide_animation.h"
|
| #include "ui/gfx/canvas.h"
|
| #include "ui/gfx/text_constants.h"
|
| @@ -1011,9 +1012,9 @@ void BookmarkBarView::PaintChildren(const ui::PaintContext& context) {
|
| h);
|
| indicator_bounds.set_x(GetMirroredXForRect(indicator_bounds));
|
|
|
| - gfx::Canvas* canvas = context.canvas();
|
| + ui::PaintRecorder recorder(context);
|
| // TODO(sky/glen): make me pretty!
|
| - canvas->FillRect(indicator_bounds, kDropIndicatorColor);
|
| + recorder.canvas()->FillRect(indicator_bounds, kDropIndicatorColor);
|
| }
|
| }
|
|
|
|
|