| Index: ui/views/bubble/bubble_frame_view.cc
|
| diff --git a/ui/views/bubble/bubble_frame_view.cc b/ui/views/bubble/bubble_frame_view.cc
|
| index 079300c90f2f8a8bad141d0cacb92f7ac96379d2..f732344012811dd04b484bef2be5daf5c3c0b884 100644
|
| --- a/ui/views/bubble/bubble_frame_view.cc
|
| +++ b/ui/views/bubble/bubble_frame_view.cc
|
| @@ -13,7 +13,7 @@
|
| #include "ui/base/l10n/l10n_util.h"
|
| #include "ui/base/material_design/material_design_controller.h"
|
| #include "ui/base/resource/resource_bundle.h"
|
| -#include "ui/compositor/paint_context.h"
|
| +#include "ui/compositor/paint_info.h"
|
| #include "ui/compositor/paint_recorder.h"
|
| #include "ui/display/display.h"
|
| #include "ui/display/screen.h"
|
| @@ -398,11 +398,11 @@ void BubbleFrameView::OnPaint(gfx::Canvas* canvas) {
|
| // Border comes after children.
|
| }
|
|
|
| -void BubbleFrameView::PaintChildren(const ui::PaintContext& context) {
|
| - NonClientFrameView::PaintChildren(context);
|
| +void BubbleFrameView::PaintChildren(const ui::PaintInfo& paint_info) {
|
| + NonClientFrameView::PaintChildren(paint_info);
|
|
|
| ui::PaintCache paint_cache;
|
| - ui::PaintRecorder recorder(context, size(), &paint_cache);
|
| + ui::PaintRecorder recorder(paint_info, &paint_cache);
|
| OnPaintBorder(recorder.canvas());
|
| }
|
|
|
|
|