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

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

Issue 1979553003: Consolidate to use MessageView (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/notification_view_unittest.cc
diff --git a/ui/message_center/views/notification_view_unittest.cc b/ui/message_center/views/notification_view_unittest.cc
index bbdcfefbb4bdecbf59509291d0485f730ad7e1bc..053feeca09c2fd3ceede886353f08880de06ba9c 100644
--- a/ui/message_center/views/notification_view_unittest.cc
+++ b/ui/message_center/views/notification_view_unittest.cc
@@ -228,8 +228,8 @@ void NotificationViewTest::SetUp() {
notification_->set_image(CreateTestImage(320, 240));
// Then create a new NotificationView with that single notification.
- notification_view_.reset(
- NotificationView::Create(this, *notification_, true));
+ notification_view_.reset(static_cast<NotificationView*>(
+ NotificationView::Create(this, *notification_, true)));
notification_view_->set_owned_by_client();
views::Widget::InitParams init_params(
« ui/message_center/views/notification_view.h ('K') | « ui/message_center/views/notification_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698