Chromium Code Reviews| 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 2dd002e5a7192c4fa1d47b4089a66f845eb4c08c..3680d04d3857d6d1e938c4f4c0b12c300b6264c5 100644 |
| --- a/ui/views/bubble/bubble_frame_view.cc |
| +++ b/ui/views/bubble/bubble_frame_view.cc |
| @@ -384,7 +384,8 @@ void BubbleFrameView::PaintChildren(const ui::PaintContext& context) { |
| NonClientFrameView::PaintChildren(context); |
| ui::PaintCache paint_cache; |
| - ui::PaintRecorder recorder(context, size(), &paint_cache); |
| + ui::PaintRecorder recorder(context, context.ScaleToEffectivePixelSize(size()), |
|
oshima
2017/06/16 00:15:03
shouldn't this be context.pixel_size()? and if so,
malaykeshav
2017/06/16 20:41:58
I think its not always the case. But in this case
|
| + &paint_cache); |
| OnPaintBorder(recorder.canvas()); |
| } |