Bug 589640 second followup: make sure the new element class actually QIs to nsIClassInfo.
authorBoris Zbarsky <bzbarsky@mit.edu>
Thu, 08 Dec 2011 03:05:41 -0500
changeset 82239 93bcebfb5d40870f1e3b0cf32954d0e22f83f730
parent 82238 0c0b9724b1ada8550c34805926e57f41195250b4
child 82240 8cccdec3532b3c4f95bdd317fc6f8b362702d5cb
push id21587
push userbmo@edmorley.co.uk
push dateThu, 08 Dec 2011 15:13:43 +0000
treeherdermozilla-central@98db2311a44c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs589640
milestone11.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 589640 second followup: make sure the new element class actually QIs to nsIClassInfo.
content/svg/content/src/nsSVGUnknownElement.cpp
--- a/content/svg/content/src/nsSVGUnknownElement.cpp
+++ b/content/svg/content/src/nsSVGUnknownElement.cpp
@@ -72,16 +72,17 @@ NS_IMPL_NS_NEW_SVG_ELEMENT(Unknown)
 NS_IMPL_ADDREF_INHERITED(nsSVGUnknownElement, nsSVGUnknownElementBase)
 NS_IMPL_RELEASE_INHERITED(nsSVGUnknownElement, nsSVGUnknownElementBase)
 
 DOMCI_NODE_DATA(SVGUnknownElement, nsSVGUnknownElement)
 
 NS_INTERFACE_TABLE_HEAD(nsSVGUnknownElement)
   NS_NODE_INTERFACE_TABLE3(nsSVGUnknownElement, nsIDOMNode, nsIDOMElement,
                            nsIDOMSVGElement)
+  NS_DOM_INTERFACE_MAP_ENTRY_CLASSINFO(SVGUnknownElement)
 NS_INTERFACE_MAP_END_INHERITING(nsSVGUnknownElementBase)
 //----------------------------------------------------------------------
 // Implementation
 
 nsSVGUnknownElement::nsSVGUnknownElement(already_AddRefed<nsINodeInfo> aNodeInfo)
   : nsSVGUnknownElementBase(aNodeInfo)
 {
 }