mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 888685: SVGAnimatedAngle shouldn't inherit nsISupports r=Ms2ger
This commit is contained in:
parent
3643890665
commit
c1ae30a79a
@ -13,13 +13,8 @@ using namespace mozilla::dom;
|
||||
|
||||
NS_SVG_VAL_IMPL_CYCLE_COLLECTION_WRAPPERCACHED(SVGAnimatedAngle, mSVGElement)
|
||||
|
||||
NS_IMPL_CYCLE_COLLECTING_ADDREF(SVGAnimatedAngle)
|
||||
NS_IMPL_CYCLE_COLLECTING_RELEASE(SVGAnimatedAngle)
|
||||
|
||||
NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(SVGAnimatedAngle)
|
||||
NS_WRAPPERCACHE_INTERFACE_MAP_ENTRY
|
||||
NS_INTERFACE_MAP_ENTRY(nsISupports)
|
||||
NS_INTERFACE_MAP_END
|
||||
NS_IMPL_CYCLE_COLLECTION_ROOT_NATIVE(SVGAnimatedAngle, AddRef)
|
||||
NS_IMPL_CYCLE_COLLECTION_UNROOT_NATIVE(SVGAnimatedAngle, Release)
|
||||
|
||||
JSObject*
|
||||
SVGAnimatedAngle::WrapObject(JSContext* aCx, JS::Handle<JSObject*> aScope)
|
||||
|
@ -17,12 +17,11 @@ namespace dom {
|
||||
|
||||
class SVGAngle;
|
||||
|
||||
class SVGAnimatedAngle MOZ_FINAL : public nsISupports,
|
||||
public nsWrapperCache
|
||||
class SVGAnimatedAngle MOZ_FINAL : public nsWrapperCache
|
||||
{
|
||||
public:
|
||||
NS_DECL_CYCLE_COLLECTING_ISUPPORTS
|
||||
NS_DECL_CYCLE_COLLECTION_SCRIPT_HOLDER_CLASS(SVGAnimatedAngle)
|
||||
NS_INLINE_DECL_CYCLE_COLLECTING_NATIVE_REFCOUNTING(SVGAnimatedAngle)
|
||||
NS_DECL_CYCLE_COLLECTION_SCRIPT_HOLDER_NATIVE_CLASS(SVGAnimatedAngle)
|
||||
|
||||
SVGAnimatedAngle(nsSVGAngle* aVal, nsSVGElement *aSVGElement)
|
||||
: mVal(aVal), mSVGElement(aSVGElement)
|
||||
|
@ -828,6 +828,10 @@ DOMInterfaces = {
|
||||
'nativeOwnership': 'refcounted'
|
||||
},
|
||||
|
||||
'SVGAnimatedAngle' : {
|
||||
'nativeOwnership': 'refcounted'
|
||||
},
|
||||
|
||||
'SVGAnimatedBoolean' : {
|
||||
'nativeOwnership': 'refcounted'
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user