| Index: third_party/WebKit/Source/core/svg/SVGViewSpec.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGViewSpec.cpp b/third_party/WebKit/Source/core/svg/SVGViewSpec.cpp
|
| index 353a8663158afe39d57410f8823e627f37e779aa..dd20c2ed811d55eb06702ed6caaace1b3bd670e7 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGViewSpec.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGViewSpec.cpp
|
| @@ -84,48 +84,6 @@ void SVGViewSpec::reset()
|
| m_viewTargetString = emptyString();
|
| }
|
|
|
| -void SVGViewSpec::detachContextElement()
|
| -{
|
| - m_transform = nullptr;
|
| - clearViewBox();
|
| - clearPreserveAspectRatio();
|
| - m_contextElement = nullptr;
|
| -}
|
| -
|
| -SVGElement* SVGViewSpec::viewTarget() const
|
| -{
|
| - if (!m_contextElement)
|
| - return nullptr;
|
| - Element* element = m_contextElement->treeScope().getElementById(AtomicString(m_viewTargetString));
|
| - if (!element || !element->isSVGElement())
|
| - return nullptr;
|
| - return toSVGElement(element);
|
| -}
|
| -
|
| -String SVGViewSpec::viewBoxString() const
|
| -{
|
| - if (!viewBox())
|
| - return String();
|
| -
|
| - return viewBox()->currentValue()->valueAsString();
|
| -}
|
| -
|
| -String SVGViewSpec::preserveAspectRatioString() const
|
| -{
|
| - if (!preserveAspectRatio())
|
| - return String();
|
| -
|
| - return preserveAspectRatio()->baseValue()->valueAsString();
|
| -}
|
| -
|
| -String SVGViewSpec::transformString() const
|
| -{
|
| - if (!m_transform)
|
| - return String();
|
| -
|
| - return m_transform->baseValue()->valueAsString();
|
| -}
|
| -
|
| void SVGViewSpec::setZoomAndPan(unsigned short, ExceptionState& exceptionState)
|
| {
|
| // SVGViewSpec and all of its content is read-only.
|
|
|