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

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

Issue 2969603003: Implement new-style image notification resizing. (Closed)
Patch Set: Fix unit test. Created 3 years, 4 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_md_unittest.cc
diff --git a/ui/message_center/views/notification_view_md_unittest.cc b/ui/message_center/views/notification_view_md_unittest.cc
index e4f061e3ca89213170ece577a634934b6b680079..f39b2d565fb3617953df4a74967649940e802219 100644
--- a/ui/message_center/views/notification_view_md_unittest.cc
+++ b/ui/message_center/views/notification_view_md_unittest.cc
@@ -281,7 +281,7 @@ TEST_F(NotificationViewMDTest, CreateOrUpdateTest) {
EXPECT_NE(nullptr, notification_view()->title_view_);
EXPECT_NE(nullptr, notification_view()->message_view_);
EXPECT_NE(nullptr, notification_view()->icon_view_);
- EXPECT_NE(nullptr, notification_view()->image_view_);
+ EXPECT_NE(nullptr, notification_view()->image_container_view_);
notification()->set_image(gfx::Image());
notification()->set_title(base::string16());
@@ -292,7 +292,7 @@ TEST_F(NotificationViewMDTest, CreateOrUpdateTest) {
EXPECT_EQ(nullptr, notification_view()->title_view_);
EXPECT_EQ(nullptr, notification_view()->message_view_);
- EXPECT_EQ(nullptr, notification_view()->image_view_);
+ EXPECT_EQ(nullptr, notification_view()->image_container_view_);
// We still expect an icon view for all layouts.
EXPECT_NE(nullptr, notification_view()->icon_view_);
}

Powered by Google App Engine
This is Rietveld 408576698