Index: third_party/WebKit/Source/core/svg/SVGURIReference.h |
diff --git a/third_party/WebKit/Source/core/svg/SVGURIReference.h b/third_party/WebKit/Source/core/svg/SVGURIReference.h |
index c25314b4fa27dbd562d667a9513f75ac5117e0af..385e249be33e82f4b9752752bab455ddbca5e259 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGURIReference.h |
+++ b/third_party/WebKit/Source/core/svg/SVGURIReference.h |
@@ -61,6 +61,11 @@ class CORE_EXPORT SVGURIReference : public GarbageCollectedMixin { |
// |contextElement|.) Will call buildPendingResource() on |contextElement| |
// when changes to the 'id' are noticed. |
Element* observeTarget(Member<IdTargetObserver>&, SVGElement&); |
+ // Create an 'id' observer for any id denoted by |hrefString|, calling |
+ // buildPendingResource() on |contextElement| on changes. |
+ static Element* observeTarget(Member<IdTargetObserver>&, |
+ SVGElement&, |
+ const String& hrefString); |
// Create an 'id' observer for |id| in the specified TreeScope. On changes, |
// the passed Closure will be called. |
static Element* observeTarget(Member<IdTargetObserver>&, |