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

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

Issue 2668583005: Not Remove Non-Closable Arc Popup When Close Button is Pressed (Closed)
Patch Set: Created 3 years, 11 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/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 91b894673e90f13db892db6b1a47cf40f8714a49..3a5c58a5ab27cbe2e21c2e2f9da7d833b89a16b5 100644
--- a/ui/message_center/views/custom_notification_view.cc
+++ b/ui/message_center/views/custom_notification_view.cc
@@ -21,7 +21,7 @@ CustomNotificationView::CustomNotificationView(
: MessageView(controller, notification) {
DCHECK_EQ(NOTIFICATION_TYPE_CUSTOM, notification.type());
- auto custom_content = notification.delegate()->CreateCustomContent();
+ auto custom_content = notification.delegate()->CreateCustomContent(this);
contents_view_ = custom_content->view.release();
DCHECK(contents_view_);

Powered by Google App Engine
This is Rietveld 408576698