зеркало из https://github.com/mozilla/pjs.git
Fix possible binary compatibility issues introduced by fix for bug 73322.
sr=bz
This commit is contained in:
Родитель
21dc591312
Коммит
960bbe6780
|
@ -87,7 +87,6 @@ enum nsDOMClassInfoID {
|
|||
eDOMClassInfo_HTMLOptionCollection_id,
|
||||
eDOMClassInfo_HTMLFormControlCollection_id,
|
||||
eDOMClassInfo_HTMLGenericCollection_id,
|
||||
eDOMClassInfo_ImageDocument_id,
|
||||
|
||||
// HTML element classes
|
||||
eDOMClassInfo_HTMLAnchorElement_id,
|
||||
|
@ -265,6 +264,8 @@ enum nsDOMClassInfoID {
|
|||
// Processing-instruction with target "xml-stylesheet"
|
||||
eDOMClassInfo_XMLStylesheetProcessingInstruction_id,
|
||||
|
||||
eDOMClassInfo_ImageDocument_id,
|
||||
|
||||
// This one better be the last one in this list
|
||||
eDOMClassInfoIDCount
|
||||
};
|
||||
|
|
|
@ -110,7 +110,6 @@
|
|||
#include "nsIDOMNSHTMLFormControlList.h"
|
||||
#include "nsIDOMHTMLCollection.h"
|
||||
#include "nsIHTMLDocument.h"
|
||||
#include "nsIImageDocument.h"
|
||||
|
||||
// HTMLSelectElement helper includes
|
||||
#include "nsIDOMHTMLSelectElement.h"
|
||||
|
@ -310,6 +309,8 @@
|
|||
#include "nsIDOMSVGAnimatedRect.h"
|
||||
#endif
|
||||
|
||||
#include "nsIImageDocument.h"
|
||||
|
||||
static NS_DEFINE_CID(kCPluginManagerCID, NS_PLUGINMANAGER_CID);
|
||||
static NS_DEFINE_CID(kDOMSOF_CID, NS_DOM_SCRIPT_OBJECT_FACTORY_CID);
|
||||
|
||||
|
@ -472,9 +473,6 @@ static nsDOMClassInfoData sClassInfoData[] = {
|
|||
NS_DEFINE_CLASSINFO_DATA(HTMLDocument, nsHTMLDocumentSH,
|
||||
DOCUMENT_SCRIPTABLE_FLAGS |
|
||||
nsIXPCScriptable::WANT_ENUMERATE)
|
||||
NS_DEFINE_CLASSINFO_DATA(ImageDocument, nsHTMLDocumentSH,
|
||||
DOCUMENT_SCRIPTABLE_FLAGS |
|
||||
nsIXPCScriptable::WANT_ENUMERATE)
|
||||
NS_DEFINE_CLASSINFO_DATA(HTMLCollection, nsHTMLCollectionSH,
|
||||
ARRAY_SCRIPTABLE_FLAGS)
|
||||
NS_DEFINE_CLASSINFO_DATA(HTMLOptionCollection,
|
||||
|
@ -810,6 +808,10 @@ static nsDOMClassInfoData sClassInfoData[] = {
|
|||
|
||||
NS_DEFINE_CLASSINFO_DATA(XMLStylesheetProcessingInstruction, nsNodeSH,
|
||||
NODE_SCRIPTABLE_FLAGS)
|
||||
|
||||
NS_DEFINE_CLASSINFO_DATA(ImageDocument, nsHTMLDocumentSH,
|
||||
DOCUMENT_SCRIPTABLE_FLAGS |
|
||||
nsIXPCScriptable::WANT_ENUMERATE)
|
||||
};
|
||||
|
||||
nsIXPConnect *nsDOMClassInfo::sXPConnect = nsnull;
|
||||
|
@ -1419,21 +1421,6 @@ nsDOMClassInfo::Init()
|
|||
DOM_CLASSINFO_MAP_ENTRY(nsIDOM3Node)
|
||||
DOM_CLASSINFO_MAP_END_WITH_XPATH
|
||||
|
||||
DOM_CLASSINFO_MAP_BEGIN(ImageDocument, nsIImageDocument)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMHTMLDocument)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIImageDocument)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMNSHTMLDocument)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMNSDocument)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMDocumentEvent)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMDocumentStyle)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMDocumentView)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMDocumentRange)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMDocumentTraversal)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMDocumentXBL)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMEventTarget)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOM3Node)
|
||||
DOM_CLASSINFO_MAP_END
|
||||
|
||||
DOM_CLASSINFO_MAP_BEGIN(HTMLCollection, nsIDOMHTMLCollection)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMNodeList)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMHTMLCollection)
|
||||
|
@ -2158,6 +2145,21 @@ nsDOMClassInfo::Init()
|
|||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMHTMLCollection)
|
||||
DOM_CLASSINFO_MAP_END
|
||||
|
||||
DOM_CLASSINFO_MAP_BEGIN(ImageDocument, nsIImageDocument)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMHTMLDocument)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIImageDocument)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMNSHTMLDocument)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMNSDocument)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMDocumentEvent)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMDocumentStyle)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMDocumentView)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMDocumentRange)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMDocumentTraversal)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMDocumentXBL)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMEventTarget)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOM3Node)
|
||||
DOM_CLASSINFO_MAP_END
|
||||
|
||||
#ifdef NS_DEBUG
|
||||
{
|
||||
PRUint32 i = sizeof(sClassInfoData) / sizeof(sClassInfoData[0]);
|
||||
|
|
Загрузка…
Ссылка в новой задаче