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 9b50df2308e3debbe3137e6d333ad4b8509d8256..bd424358a2140ceb63e7a88940596b69bd408f1f 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceContainer.h |
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceContainer.h |
@@ -114,7 +114,7 @@ inline LayoutSVGResourceContainer* getLayoutSVGResourceContainerById(TreeScope& |
if (id.isEmpty()) |
return nullptr; |
- if (LayoutSVGResourceContainer* layoutResource = treeScope.document().accessSVGExtensions().resourceById(id)) |
+ if (LayoutSVGResourceContainer* layoutResource = treeScope.accessSVGTreeScopedResources().resourceById(id)) |
return layoutResource; |
return nullptr; |