Make some things that return never-null pointers return references instead.
[WebKit-https.git] / Source / WebCore / xml / XMLHttpRequest.cpp
index 4bc0596..067756c 100644 (file)
@@ -1313,9 +1313,9 @@ EventTargetData* XMLHttpRequest::eventTargetData()
     return &m_eventTargetData;
 }
 
-EventTargetData* XMLHttpRequest::ensureEventTargetData()
+EventTargetData& XMLHttpRequest::ensureEventTargetData()
 {
-    return &m_eventTargetData;
+    return m_eventTargetData;
 }
 
 } // namespace WebCore