Index: third_party/WebKit/Source/core/svg/SVGElement.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGElement.cpp b/third_party/WebKit/Source/core/svg/SVGElement.cpp |
index 962c5b6f935bd953b76ce4fdc5d4e21a2e85c270..6c7113acb95d3776cc8b0aa67160bf524d635d21 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGElement.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGElement.cpp |
@@ -540,7 +540,7 @@ void SVGElement::updateRelativeLengthsInformation(bool clientHasRelativeLengths, |
// Register root SVG elements for top level viewport change notifications. |
if (isSVGSVGElement(*clientElement)) { |
- SVGDocumentExtensions& svgExtensions = accessDocumentSVGExtensions(); |
+ SVGDocumentExtensions& svgExtensions = document().accessSVGExtensions(); |
if (clientElement->hasRelativeLengths()) |
svgExtensions.addSVGRootWithRelativeLengthDescendents( |
toSVGSVGElement(clientElement)); |
@@ -603,12 +603,6 @@ SVGElement* SVGElement::viewportElement() const { |
return nullptr; |
} |
-SVGDocumentExtensions& SVGElement::accessDocumentSVGExtensions() { |
- // This function is provided for use by SVGAnimatedProperty to avoid |
- // global inclusion of core/dom/Document.h in SVG code. |
- return document().accessSVGExtensions(); |
-} |
- |
void SVGElement::mapInstanceToElement(SVGElement* instance) { |
ASSERT(instance); |
ASSERT(instance->inUseShadowTree()); |