Make some things that return never-null pointers return references instead.
[WebKit-https.git] / Source / WebCore / page / Performance.cpp
index 9dcf46e..be93840 100644 (file)
@@ -203,9 +203,9 @@ EventTargetData* Performance::eventTargetData()
     return &m_eventTargetData;
 }
 
-EventTargetData* Performance::ensureEventTargetData()
+EventTargetData& Performance::ensureEventTargetData()
 {
-    return &m_eventTargetData;
+    return m_eventTargetData;
 }
 
 #if ENABLE(USER_TIMING)