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 7fb14b767122a5b4dbfb9ffc08563ce17e1a1e7b..e68ee52ffb6956e6f766d140df04e1caee9736c7 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceContainer.h |
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceContainer.h |
@@ -21,7 +21,6 @@ |
#define LayoutSVGResourceContainer_h |
#include "core/layout/svg/LayoutSVGHiddenContainer.h" |
-#include "core/svg/SVGTreeScopeResources.h" |
namespace blink { |
@@ -116,17 +115,6 @@ class LayoutSVGResourceContainer : public LayoutSVGHiddenContainer { |
HashSet<LayoutObject*> m_clients; |
}; |
-template <typename Layout> |
-Layout* getLayoutSVGResourceById(SVGTreeScopeResources& treeScopeResources, |
- const AtomicString& id) { |
- if (LayoutSVGResourceContainer* container = |
- treeScopeResources.resourceById(id)) { |
- if (container->resourceType() == Layout::s_resourceType) |
- return static_cast<Layout*>(container); |
- } |
- return nullptr; |
-} |
- |
DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGResourceContainer, |
isSVGResourceContainer()); |