Index: Source/web/WebNotification.cpp |
diff --git a/Source/web/WebNotification.cpp b/Source/web/WebNotification.cpp |
index caec7f36a37bed63ff9dc92507d3c3955ce531d1..1e70be919487e7f78a4b3be44bc563e8165646e7 100644 |
--- a/Source/web/WebNotification.cpp |
+++ b/Source/web/WebNotification.cpp |
@@ -34,7 +34,7 @@ |
#include "WebTextDirection.h" |
#include "core/events/Event.h" |
#include "core/page/WindowFocusAllowedIndicator.h" |
-#include "modules/notifications/Notification.h" |
+#include "modules/notifications/NotificationBase.h" |
#include "platform/UserGestureIndicator.h" |
#include "public/platform/WebString.h" |
#include "public/platform/WebURL.h" |
@@ -44,7 +44,7 @@ |
namespace blink { |
-class WebNotificationPrivate : public Notification { |
+class WebNotificationPrivate : public NotificationBase { |
}; |
void WebNotification::reset() |
@@ -124,20 +124,20 @@ |
m_private->dispatchClickEvent(); |
} |
-WebNotification::WebNotification(const WTF::PassRefPtr<Notification>& notification) |
+WebNotification::WebNotification(const WTF::PassRefPtr<NotificationBase>& notification) |
: m_private(static_cast<WebNotificationPrivate*>(notification.leakRef())) |
{ |
} |
-WebNotification& WebNotification::operator=(const WTF::PassRefPtr<Notification>& notification) |
+WebNotification& WebNotification::operator=(const WTF::PassRefPtr<NotificationBase>& notification) |
{ |
assign(static_cast<WebNotificationPrivate*>(notification.leakRef())); |
return *this; |
} |
-WebNotification::operator WTF::PassRefPtr<Notification>() const |
+WebNotification::operator WTF::PassRefPtr<NotificationBase>() const |
{ |
- return WTF::PassRefPtr<Notification>(const_cast<WebNotificationPrivate*>(m_private)); |
+ return WTF::PassRefPtr<NotificationBase>(const_cast<WebNotificationPrivate*>(m_private)); |
} |
void WebNotification::assign(WebNotificationPrivate* p) |