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..bec19dcc47ca41b9342ea802d1f72e6112869f20 100644 |
--- a/ui/views/bubble/bubble_frame_view.cc |
+++ b/ui/views/bubble/bubble_frame_view.cc |
@@ -384,7 +384,7 @@ 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.pixel_size(), &paint_cache); |
OnPaintBorder(recorder.canvas()); |
} |