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 0dfe4965a53a404d6429e3610869d1ab668d6a41..b84bd48e1fda64d24adb45a895af2311763171bd 100644 |
--- a/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc |
+++ b/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc |
@@ -1050,8 +1050,8 @@ void BookmarkBarView::ViewHierarchyChanged( |
} |
} |
-void BookmarkBarView::PaintChildren(const ui::PaintContext& context) { |
- View::PaintChildren(context); |
+void BookmarkBarView::PaintChildren(const views::PaintInfo& paint_info) { |
+ View::PaintChildren(paint_info); |
if (drop_info_.get() && drop_info_->valid && |
drop_info_->location.operation != 0 && drop_info_->location.index != -1 && |
@@ -1082,7 +1082,7 @@ void BookmarkBarView::PaintChildren(const ui::PaintContext& context) { |
gfx::Rect indicator_bounds = GetMirroredRect( |
gfx::Rect(x - kDropIndicatorWidth / 2, y, kDropIndicatorWidth, h)); |
- ui::PaintRecorder recorder(context, size()); |
+ ui::PaintRecorder recorder(paint_info.context(), size()); |
// TODO(sky/glen): make me pretty! |
recorder.canvas()->FillRect( |
indicator_bounds, |