| Index: Source/core/svg/SVGZoomEvent.cpp
|
| diff --git a/Source/core/svg/SVGZoomEvent.cpp b/Source/core/svg/SVGZoomEvent.cpp
|
| index fe5d283270fb272b097473af9f6ab2f170518a0b..f78bd52eb80466f238b562cd34b2791385e53d95 100644
|
| --- a/Source/core/svg/SVGZoomEvent.cpp
|
| +++ b/Source/core/svg/SVGZoomEvent.cpp
|
| @@ -23,6 +23,7 @@
|
| #include "core/svg/SVGZoomEvent.h"
|
|
|
| #include "core/events/ThreadLocalEventNames.h"
|
| +#include "core/svg/SVGRectTearOff.h"
|
|
|
| namespace WebCore {
|
|
|
| @@ -33,9 +34,11 @@ SVGZoomEvent::SVGZoomEvent()
|
| ScriptWrappable::init(this);
|
| }
|
|
|
| -SVGRect SVGZoomEvent::zoomRectScreen() const
|
| +PassRefPtr<SVGRectTearOff> SVGZoomEvent::zoomRectScreen() const
|
| {
|
| - return m_zoomRectScreen;
|
| + RefPtr<SVGRectTearOff> rectTearOff = SVGRectTearOff::create(SVGRect::create(), 0, PropertyIsNotAnimVal);
|
| + rectTearOff->setIsReadOnlyProperty();
|
| + return rectTearOff.release();
|
| }
|
|
|
| float SVGZoomEvent::previousScale() const
|
|
|