Make some things that return never-null pointers return references instead.
[WebKit-https.git] / Source / WebCore / loader / appcache / DOMApplicationCache.cpp
index aee577c..6681471 100644 (file)
@@ -145,9 +145,9 @@ EventTargetData* DOMApplicationCache::eventTargetData()
     return &m_eventTargetData;
 }
 
-EventTargetData* DOMApplicationCache::ensureEventTargetData()
+EventTargetData& DOMApplicationCache::ensureEventTargetData()
 {
-    return &m_eventTargetData;
+    return m_eventTargetData;
 }
 
 } // namespace WebCore