Index: third_party/WebKit/Source/core/svg/SVGGraphicsElement.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGGraphicsElement.cpp b/third_party/WebKit/Source/core/svg/SVGGraphicsElement.cpp |
index e403da2d6713708acaaeb78c63025a05ebca7f4b..79da4299b0fa7fb2abdf0e53696c365167994352 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGGraphicsElement.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGGraphicsElement.cpp |
@@ -50,22 +50,6 @@ DEFINE_TRACE(SVGGraphicsElement) |
SVGTests::trace(visitor); |
} |
-PassRefPtrWillBeRawPtr<SVGMatrixTearOff> SVGGraphicsElement::getTransformToElement(SVGElement* target, ExceptionState& exceptionState) |
-{ |
- AffineTransform ctm = getCTM(AllowStyleUpdate); |
- |
- if (target && target->isSVGGraphicsElement()) { |
- AffineTransform targetCTM = toSVGGraphicsElement(target)->getCTM(AllowStyleUpdate); |
- if (!targetCTM.isInvertible()) { |
- exceptionState.throwDOMException(InvalidStateError, "The target transformation is not invertable."); |
- return nullptr; |
- } |
- ctm = targetCTM.inverse() * ctm; |
- } |
- |
- return SVGMatrixTearOff::create(ctm); |
-} |
- |
static bool isViewportElement(const Element& element) |
{ |
return (isSVGSVGElement(element) |