Make some things that return never-null pointers return references instead.
[WebKit-https.git] / Source / WebCore / page / EventSource.cpp
index 77a8e6f..d743775 100644 (file)
@@ -436,9 +436,9 @@ EventTargetData* EventSource::eventTargetData()
     return &m_eventTargetData;
 }
 
-EventTargetData* EventSource::ensureEventTargetData()
+EventTargetData& EventSource::ensureEventTargetData()
 {
-    return &m_eventTargetData;
+    return m_eventTargetData;
 }
 
 } // namespace WebCore