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

Unified Diff: ui/message_center/notification_delegate_views.cc

Issue 2547433002: Transfer responsibility for providing a close button for a notification to each implementation of M… (Closed)
Patch Set: WrapUnique -> MakeUnique Created 4 years 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/notification_delegate_views.cc
diff --git a/ui/message_center/notification_delegate_views.cc b/ui/message_center/notification_delegate_views.cc
index 6f993d2c640f5d42c4f2eb0f94cc03cf8ca95bc1..1d12a307f0813d5bdc52c49ea854d01987af809f 100644
--- a/ui/message_center/notification_delegate_views.cc
+++ b/ui/message_center/notification_delegate_views.cc
@@ -8,8 +8,8 @@
namespace message_center {
-std::unique_ptr<views::View> NotificationDelegate::CreateCustomContent() {
- return std::unique_ptr<views::View>();
+std::unique_ptr<CustomContent> NotificationDelegate::CreateCustomContent() {
+ return nullptr;
}
} // namespace message_center
« no previous file with comments | « ui/message_center/notification_delegate.h ('k') | ui/message_center/views/custom_notification_content_view_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698