Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceContainer.h |
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceContainer.h b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceContainer.h |
index 7dbedb1510eff2c7f6a7b63323f613e61350b091..0461b7cf2b909a9e96beaabc1f42b96e88740faa 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceContainer.h |
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceContainer.h |
@@ -21,7 +21,7 @@ |
#define LayoutSVGResourceContainer_h |
#include "core/layout/svg/LayoutSVGHiddenContainer.h" |
-#include "core/svg/SVGDocumentExtensions.h" |
+#include "core/svg/SVGTreeScopeResources.h" |
namespace blink { |
@@ -120,7 +120,7 @@ inline LayoutSVGResourceContainer* getLayoutSVGResourceContainerById( |
return nullptr; |
if (LayoutSVGResourceContainer* layoutResource = |
- treeScope.document().accessSVGExtensions().resourceById(id)) |
+ treeScope.ensureSVGTreeScopedResources().resourceById(id)) |
return layoutResource; |
return nullptr; |