mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 888685: SVGStringList doesn't need to inherit nsISupports r=bz
This commit is contained in:
parent
36ba686d29
commit
da89e2edb6
@ -29,13 +29,8 @@ SVGStringListTearoffTable()
|
||||
|
||||
NS_SVG_VAL_IMPL_CYCLE_COLLECTION_WRAPPERCACHED(DOMSVGStringList, mElement)
|
||||
|
||||
NS_IMPL_CYCLE_COLLECTING_ADDREF(DOMSVGStringList)
|
||||
NS_IMPL_CYCLE_COLLECTING_RELEASE(DOMSVGStringList)
|
||||
|
||||
NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(DOMSVGStringList)
|
||||
NS_WRAPPERCACHE_INTERFACE_MAP_ENTRY
|
||||
NS_INTERFACE_MAP_ENTRY(nsISupports)
|
||||
NS_INTERFACE_MAP_END
|
||||
NS_IMPL_CYCLE_COLLECTION_ROOT_NATIVE(DOMSVGStringList, AddRef)
|
||||
NS_IMPL_CYCLE_COLLECTION_UNROOT_NATIVE(DOMSVGStringList, Release)
|
||||
|
||||
/* static */ already_AddRefed<DOMSVGStringList>
|
||||
DOMSVGStringList::GetDOMWrapper(SVGStringList *aList,
|
||||
|
@ -43,12 +43,11 @@ class SVGStringList;
|
||||
* them so it can return the same objects each time. It simply returns a new
|
||||
* string each time any given item is requested.
|
||||
*/
|
||||
class DOMSVGStringList MOZ_FINAL : public nsISupports
|
||||
, public nsWrapperCache
|
||||
class DOMSVGStringList MOZ_FINAL : public nsWrapperCache
|
||||
{
|
||||
public:
|
||||
NS_DECL_CYCLE_COLLECTING_ISUPPORTS
|
||||
NS_DECL_CYCLE_COLLECTION_SCRIPT_HOLDER_CLASS(DOMSVGStringList)
|
||||
NS_INLINE_DECL_CYCLE_COLLECTING_NATIVE_REFCOUNTING(DOMSVGStringList)
|
||||
NS_DECL_CYCLE_COLLECTION_SCRIPT_HOLDER_NATIVE_CLASS(DOMSVGStringList)
|
||||
|
||||
nsSVGElement* GetParentObject() const
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user