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

Unified Diff: ui/message_center/views/custom_notification_view.cc

Issue 2066603003: No paint to layer for custom notification close button (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/views/custom_notification_view.cc
diff --git a/ui/message_center/views/custom_notification_view.cc b/ui/message_center/views/custom_notification_view.cc
index 5e53a4cbc501fbe2e8192f4f8ee6f23adf1be8c5..7be48013c43aa3845aa11a1fda8681082a27f901 100644
--- a/ui/message_center/views/custom_notification_view.cc
+++ b/ui/message_center/views/custom_notification_view.cc
@@ -32,10 +32,6 @@ CustomNotificationView::CustomNotificationView(
AddChildView(small_image());
CreateOrUpdateCloseButtonView(notification);
-
- // Use a layer for close button so that custom content does not eclipse it.
- if (close_button())
- close_button()->SetPaintToLayer(true);
}
CustomNotificationView::~CustomNotificationView() {}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698