Index: Source/web/WebNotification.cpp |
diff --git a/Source/web/WebNotification.cpp b/Source/web/WebNotification.cpp |
index 7ba72eb71b4b92b5508067b92733f59750da53b0..58386071a4b9c4c8edf4f4cb68d4a8c3c9026057 100644 |
--- a/Source/web/WebNotification.cpp |
+++ b/Source/web/WebNotification.cpp |
@@ -114,20 +114,15 @@ void WebNotification::dispatchClickEvent() |
m_private->dispatchClickEvent(); |
} |
-WebNotification::WebNotification(const WTF::PassRefPtr<WebCore::Notification>& notification) |
+WebNotification::WebNotification(const WTF::RawPtr<Notification>& notification) |
: m_private(notification) |
{ |
} |
-WebNotification& WebNotification::operator=(const WTF::PassRefPtr<Notification>& notification) |
+WebNotification& WebNotification::operator=(const WTF::RawPtr<Notification>& notification) |
{ |
m_private = notification; |
return *this; |
} |
-WebNotification::operator WTF::PassRefPtr<Notification>() const |
-{ |
- return m_private.get(); |
-} |
- |
} // namespace blink |