Index: Source/modules/notifications/NotificationController.cpp |
diff --git a/Source/modules/notifications/NotificationController.cpp b/Source/modules/notifications/NotificationController.cpp |
index 3c50e0f3987ff0766cabc7dfba118c2873148397..47abc467407a14ebba2d83382611c3825a46e899 100644 |
--- a/Source/modules/notifications/NotificationController.cpp |
+++ b/Source/modules/notifications/NotificationController.cpp |
@@ -31,7 +31,7 @@ |
namespace WebCore { |
-NotificationController::NotificationController(NotificationClient* client) |
+NotificationController::NotificationController(PassOwnPtr<NotificationClient> client) |
: m_client(client) |
{ |
} |
@@ -40,7 +40,7 @@ NotificationController::~NotificationController() |
{ |
} |
-PassOwnPtr<NotificationController> NotificationController::create(NotificationClient* client) |
+PassOwnPtr<NotificationController> NotificationController::create(PassOwnPtr<NotificationClient> client) |
{ |
return adoptPtr(new NotificationController(client)); |
} |
@@ -57,7 +57,7 @@ const char* NotificationController::supplementName() |
return "NotificationController"; |
} |
-void provideNotification(LocalFrame& frame, NotificationClient* client) |
+void provideNotification(LocalFrame& frame, PassOwnPtr<NotificationClient> client) |
{ |
NotificationController::provideTo(frame, NotificationController::supplementName(), NotificationController::create(client)); |
} |