Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(463)

Unified Diff: third_party/WebKit/Source/core/svg/SVGURIReference.h

Issue 2737403003: Use IdTargetObserver in SVGSMILElement (Closed)
Patch Set: Rebase; always attempt to unobserve Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/svg/SVGURIReference.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>&,
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/svg/SVGURIReference.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698