Index: third_party/WebKit/Source/core/svg/SVGElement.h |
diff --git a/third_party/WebKit/Source/core/svg/SVGElement.h b/third_party/WebKit/Source/core/svg/SVGElement.h |
index e274cefbdea02031c1e1b336df937c7c34016552..bf453f915606f77abf257048f8afce72ac48a439 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGElement.h |
+++ b/third_party/WebKit/Source/core/svg/SVGElement.h |
@@ -58,6 +58,10 @@ class CORE_EXPORT SVGElement : public Element { |
int tabIndex() const override; |
bool supportsFocus() const override { return false; } |
+ // The TreeScope this element should resolve id's against. This differs from |
+ // the regular Node::treeScope() by taking <use> into account. |
+ TreeScope& treeScopeForIdResolution() const; |
+ |
bool isOutermostSVGSVGElement() const; |
bool hasTagName(const SVGQualifiedName& name) const { |