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

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

Issue 2024663002: Implement SetWrapperReferenceTo idl attribute within traceWrappers for svg elements (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
Index: third_party/WebKit/Source/core/svg/SVGAnimatedRect.h
diff --git a/third_party/WebKit/Source/core/svg/SVGAnimatedRect.h b/third_party/WebKit/Source/core/svg/SVGAnimatedRect.h
index f3c1bbb4fe0fb0fc6e244e17d8b863d25687f00b..eea665d22f6e791041411b150a93ca75683c530a 100644
--- a/third_party/WebKit/Source/core/svg/SVGAnimatedRect.h
+++ b/third_party/WebKit/Source/core/svg/SVGAnimatedRect.h
@@ -45,6 +45,11 @@ public:
return new SVGAnimatedRect(contextElement, attributeName);
}
+ DEFINE_INLINE_VIRTUAL_TRACE_WRAPPERS()
+ {
+ visitor->traceWrappers(contextElement());
+ }
+
protected:
SVGAnimatedRect(SVGElement* contextElement, const QualifiedName& attributeName)
: SVGAnimatedProperty<SVGRect>(contextElement, attributeName, SVGRect::createInvalid())

Powered by Google App Engine
This is Rietveld 408576698