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

Unified Diff: ui/views/view.cc

Issue 1836993004: Fix bubble client area clipping regression. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/view.cc
diff --git a/ui/views/view.cc b/ui/views/view.cc
index beedbb1ff261813e9add59d03cbd91e8fe2efdeb..d733034153bb82110ef12b88c6d642c7f74c73d2 100644
--- a/ui/views/view.cc
+++ b/ui/views/view.cc
@@ -813,7 +813,7 @@ void View::Paint(const ui::PaintContext& parent_context) {
} else {
gfx::Path clip_path_in_parent = clip_path_;
clip_path_in_parent.offset(GetMirroredX(), y());
- clip_recorder.ClipPath(clip_path_in_parent);
+ clip_recorder.ClipPathWithAntiAliasing(clip_path_in_parent);
Evan Stade 2016/03/29 01:27:58 I tried to avoid this before and instead inset by
msw 2016/03/29 23:08:27 Maybe add a comment about why the aa is needed her
Evan Stade 2016/03/29 23:11:52 Do you have a suggestion for a good comment? It se
msw 2016/03/29 23:19:13 Shrug, I don't understand why it would have transp
}
}
« ui/views/bubble/bubble_frame_view.cc ('K') | « ui/views/bubble/bubble_frame_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698