Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(184)

Unified Diff: ui/views/bubble/bubble_frame_view.cc

Issue 2877483003: Implements core logic for Pixel Canvas (Closed)
Patch Set: nits Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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());
}

Powered by Google App Engine
This is Rietveld 408576698