| Index: Source/core/svg/SVGElementInstance.cpp
|
| diff --git a/Source/core/svg/SVGElementInstance.cpp b/Source/core/svg/SVGElementInstance.cpp
|
| index 9bbfedd6a721305961ca51c857b923afea08974a..decff83ef608de830e57b87bb691de13201eaca8 100644
|
| --- a/Source/core/svg/SVGElementInstance.cpp
|
| +++ b/Source/core/svg/SVGElementInstance.cpp
|
| @@ -248,12 +248,12 @@ EventTargetData* SVGElementInstance::eventTargetData()
|
| return 0;
|
| }
|
|
|
| -EventTargetData* SVGElementInstance::ensureEventTargetData()
|
| +EventTargetData& SVGElementInstance::ensureEventTargetData()
|
| {
|
| // EventTarget would use these methods if we were actually using its add/removeEventListener logic.
|
| // As we're forwarding those calls to the correspondingElement(), no one should ever call this function.
|
| ASSERT_NOT_REACHED();
|
| - return 0;
|
| + return *eventTargetData();
|
| }
|
|
|
| SVGElementInstance::InstanceUpdateBlocker::InstanceUpdateBlocker(SVGElement* targetElement)
|
|
|