| Index: third_party/WebKit/Source/core/dom/TreeScope.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/TreeScope.cpp b/third_party/WebKit/Source/core/dom/TreeScope.cpp
|
| index fdea83b380fc9ff57a3dc8783132d9474952136d..213c69aacfb3d1c44685bcbe150f952aaf73c3a6 100644
|
| --- a/third_party/WebKit/Source/core/dom/TreeScope.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/TreeScope.cpp
|
| @@ -493,6 +493,18 @@ void TreeScope::setNeedsStyleRecalcForViewportUnits()
|
| element->setNeedsStyleRecalc(LocalStyleChange, StyleChangeReasonForTracing::create(StyleChangeReason::ViewportUnits));
|
| }
|
| }
|
| +const SVGTreeScopeResources* TreeScope::svgExtensions()
|
| +{
|
| + return m_svgTreeScopedResources.get();
|
| +}
|
| +
|
| +SVGTreeScopeResources& TreeScope::accessSVGTreeScopedResources()
|
| +{
|
| + if (!m_svgTreeScopedResources)
|
| + m_svgTreeScopedResources = new SVGTreeScopeResources(this);
|
| + return *m_svgTreeScopedResources;
|
| +}
|
| +
|
|
|
| DEFINE_TRACE(TreeScope)
|
| {
|
| @@ -505,6 +517,7 @@ DEFINE_TRACE(TreeScope)
|
| visitor->trace(m_imageMapsByName);
|
| visitor->trace(m_scopedStyleResolver);
|
| visitor->trace(m_radioButtonGroupScope);
|
| + visitor->trace(m_svgTreeScopedResources);
|
| }
|
|
|
| } // namespace blink
|
|
|