Make some things that return never-null pointers return references instead.
[WebKit-https.git] / Source / WebCore / Modules / mediastream / RTCDTMFSender.cpp
index 5cfc1e8..7d91f2a 100644 (file)
@@ -149,9 +149,9 @@ EventTargetData* RTCDTMFSender::eventTargetData()
     return &m_eventTargetData;
 }
 
-EventTargetData* RTCDTMFSender::ensureEventTargetData()
+EventTargetData& RTCDTMFSender::ensureEventTargetData()
 {
-    return &m_eventTargetData;
+    return m_eventTargetData;
 }
 
 void RTCDTMFSender::scheduleDispatchEvent(PassRefPtr<Event> event)