Make some things that return never-null pointers return references instead.
[WebKit-https.git] / Source / WebCore / dom / WebKitNamedFlow.cpp
index 2709af7..ecb38c8 100644 (file)
@@ -197,9 +197,9 @@ EventTargetData* WebKitNamedFlow::eventTargetData()
     return &m_eventTargetData;
 }
 
-EventTargetData* WebKitNamedFlow::ensureEventTargetData()
+EventTargetData& WebKitNamedFlow::ensureEventTargetData()
 {
-    return &m_eventTargetData;
+    return m_eventTargetData;
 }
 
 void WebKitNamedFlow::dispatchRegionLayoutUpdateEvent()