Make some things that return never-null pointers return references instead.
[WebKit-https.git] / Source / WebCore / css / FontLoader.cpp
index 8e1f948..ed0f783 100644 (file)
@@ -119,9 +119,9 @@ EventTargetData* FontLoader::eventTargetData()
     return &m_eventTargetData;
 }
 
-EventTargetData* FontLoader::ensureEventTargetData()
+EventTargetData& FontLoader::ensureEventTargetData()
 {
-    return &m_eventTargetData;
+    return m_eventTargetData;
 }
 
 const AtomicString& FontLoader::interfaceName() const