Index: chrome/browser/notifications/notification_test_util.cc |
diff --git a/chrome/browser/notifications/notification_test_util.cc b/chrome/browser/notifications/notification_test_util.cc |
index 4825d723903212d7d05c4efeafdbb429d52b8ee2..e47f1959713d377540e60b20fd6e1bc9e0186cec 100644 |
--- a/chrome/browser/notifications/notification_test_util.cc |
+++ b/chrome/browser/notifications/notification_test_util.cc |
@@ -11,18 +11,17 @@ MockNotificationDelegate::~MockNotificationDelegate() {} |
std::string MockNotificationDelegate::id() const { return id_; } |
-content::WebContents* MockNotificationDelegate::GetWebContents() const { |
- return NULL; |
-} |
- |
StubNotificationUIManager::StubNotificationUIManager(const GURL& welcome_origin) |
- : notification_(GURL(), |
- gfx::Image(), |
+ : notification_(message_center::NOTIFICATION_TYPE_SIMPLE, |
+ GURL(), |
base::string16(), |
base::string16(), |
+ gfx::Image(), |
blink::WebTextDirectionDefault, |
+ message_center::NotifierId(), |
base::string16(), |
base::string16(), |
+ message_center::RichNotificationData(), |
new MockNotificationDelegate("stub")), |
welcome_origin_(welcome_origin), |
welcomed_(false), |