Make some things that return never-null pointers return references instead.
[WebKit-https.git] / Source / WebCore / dom / EventTarget.h
index 6a80a8a..d187840 100644 (file)
@@ -140,7 +140,7 @@ namespace WebCore {
         virtual ~EventTarget();
         
         virtual EventTargetData* eventTargetData() = 0;
-        virtual EventTargetData* ensureEventTargetData() = 0;
+        virtual EventTargetData& ensureEventTargetData() = 0;
 
     private:
         virtual void refEventTarget() = 0;