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

Unified Diff: third_party/WebKit/Source/core/svg/SVGAnimatedEnumeration.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/SVGAnimatedEnumeration.h
diff --git a/third_party/WebKit/Source/core/svg/SVGAnimatedEnumeration.h b/third_party/WebKit/Source/core/svg/SVGAnimatedEnumeration.h
index ab905d7563c7ccfe28315f251e5e97bb1d607da9..b64c966e458904abf2da1ef4308f9eeda52f28dd 100644
--- a/third_party/WebKit/Source/core/svg/SVGAnimatedEnumeration.h
+++ b/third_party/WebKit/Source/core/svg/SVGAnimatedEnumeration.h
@@ -63,6 +63,11 @@ public:
return static_cast<const SVGEnumeration<Enum>*>(SVGAnimatedEnumerationBase::currentValue());
}
+ DEFINE_INLINE_VIRTUAL_TRACE_WRAPPERS()
+ {
+ visitor->traceWrappers(contextElement());
+ }
+
protected:
SVGAnimatedEnumeration(SVGElement* contextElement, const QualifiedName& attributeName, SVGEnumeration<Enum>* initialValue)
: SVGAnimatedEnumerationBase(contextElement, attributeName, initialValue)
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGAnimatedBoolean.h ('k') | third_party/WebKit/Source/core/svg/SVGAnimatedInteger.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698