Index: third_party/WebKit/Source/core/svg/SVGTreeScopeResources.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGTreeScopeResources.cpp b/third_party/WebKit/Source/core/svg/SVGTreeScopeResources.cpp |
index adc9fe6908f8b9db06a5f46b64bf55a87c60eb6e..47e5b4656e3572e4ac18e2ee48c26a3487cadd34 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGTreeScopeResources.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGTreeScopeResources.cpp |
@@ -14,13 +14,7 @@ |
namespace blink { |
SVGTreeScopeResources::SVGTreeScopeResources(TreeScope* treeScope) |
- : m_treeScope(treeScope) { |
- // Whenever an object of SVGTreeScopeResources is created, to keep the code |
- // behave as before, |
- // the document should also have an instance of SVGDocumentExtensions created. |
- // Thus below line is added. |
- treeScope->document().accessSVGExtensions(); |
-} |
+ : m_treeScope(treeScope) {} |
SVGTreeScopeResources::~SVGTreeScopeResources() = default; |