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

Unified Diff: chrome/browser/ui/views/message_center/web_notification_tray_browsertest.cc

Issue 18003003: Message center re-organized (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments applied Created 7 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
Index: chrome/browser/ui/views/message_center/web_notification_tray_browsertest.cc
diff --git a/chrome/browser/ui/views/message_center/web_notification_tray_browsertest.cc b/chrome/browser/ui/views/message_center/web_notification_tray_browsertest.cc
index 8354633600c5a5acc008a72ae94df193ad13dec7..ca491ef9d23cb4cf271bc56838370d731593f34f 100644
--- a/chrome/browser/ui/views/message_center/web_notification_tray_browsertest.cc
+++ b/chrome/browser/ui/views/message_center/web_notification_tray_browsertest.cc
@@ -173,10 +173,10 @@ IN_PROC_BROWSER_TEST_F(WebNotificationTrayTest,
bool shown = tray->message_center_tray_->ShowMessageCenterBubble();
EXPECT_TRUE(shown);
content::RunAllPendingInMessageLoop();
- EXPECT_TRUE(tray->message_center_bubble_.get() != NULL);
+ EXPECT_TRUE(tray->message_center_delegate_ != NULL);
EXPECT_EQ(notifications_to_add, message_center->NotificationCount());
EXPECT_EQ(kMaxVisibleMessageCenterNotifications,
- tray->GetMessageCenterBubbleForTest()->NumMessageViewsForTest());
+ tray->message_center_delegate_->NumMessageViewsForTest());
}
IN_PROC_BROWSER_TEST_F(WebNotificationTrayTest, ManyPopupNotifications) {

Powered by Google App Engine
This is Rietveld 408576698