| Index: Source/core/svg/SVGSVGElement.cpp
|
| diff --git a/Source/core/svg/SVGSVGElement.cpp b/Source/core/svg/SVGSVGElement.cpp
|
| index 117feddae61fc20df439d2b6fcc9de39126e8dce..b1973777bc856540e3e48b1bcd27628bf945eed8 100644
|
| --- a/Source/core/svg/SVGSVGElement.cpp
|
| +++ b/Source/core/svg/SVGSVGElement.cpp
|
| @@ -209,6 +209,14 @@ void SVGSVGElement::updateCurrentTranslate()
|
| object->setNeedsLayoutAndFullPaintInvalidation();
|
| }
|
|
|
| +bool SVGSVGElement::zoomAndPanEnabled() const
|
| +{
|
| + const SVGZoomAndPan* currentViewSpec = this;
|
| + if (m_useCurrentView)
|
| + currentViewSpec = m_viewSpec.get();
|
| + return currentViewSpec && currentViewSpec->zoomAndPan() == SVGZoomAndPanMagnify;
|
| +}
|
| +
|
| void SVGSVGElement::parseAttribute(const QualifiedName& name, const AtomicString& value)
|
| {
|
| if (!nearestViewportElement()) {
|
|
|