Index: Source/modules/notifications/NotificationController.h |
diff --git a/Source/modules/notifications/NotificationController.h b/Source/modules/notifications/NotificationController.h |
index d2dee1cc2db7e1b8b3094809b005bcf4feed2213..ef72f07140de5286fd9679eeda2f8cb5d5e0db24 100644 |
--- a/Source/modules/notifications/NotificationController.h |
+++ b/Source/modules/notifications/NotificationController.h |
@@ -42,9 +42,9 @@ public: |
static PassOwnPtr<NotificationController> create(PassOwnPtr<NotificationClient>); |
static const char* supplementName(); |
static NotificationController* from(LocalFrame* frame) { return static_cast<NotificationController*>(Supplement<LocalFrame>::from(frame, supplementName())); } |
- static NotificationClient* clientFrom(LocalFrame*); |
+ static NotificationClient& clientFrom(LocalFrame*); |
- NotificationClient* client() { return m_client.get(); } |
+ NotificationClient& client() { return *m_client; } |
virtual void trace(Visitor* visitor) OVERRIDE { Supplement<LocalFrame>::trace(visitor); } |