diff options
Diffstat (limited to 'dom/base/nsNameSpaceManager.cpp')
-rw-r--r-- | dom/base/nsNameSpaceManager.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/dom/base/nsNameSpaceManager.cpp b/dom/base/nsNameSpaceManager.cpp index 6c660e7008..4891220f6a 100644 --- a/dom/base/nsNameSpaceManager.cpp +++ b/dom/base/nsNameSpaceManager.cpp @@ -175,11 +175,9 @@ NS_NewElement(Element** aResult, if (ns == kNameSpaceID_XHTML) { return NS_NewHTMLElement(aResult, ni.forget(), aFromParser, aIs); } -#ifdef MOZ_XUL if (ns == kNameSpaceID_XUL) { return NS_NewXULElement(aResult, ni.forget()); } -#endif if (ns == kNameSpaceID_MathML) { // If the mathml.disabled pref. is true, convert all MathML nodes into // disabled MathML nodes by swapping the namespace. @@ -210,9 +208,7 @@ bool nsNameSpaceManager::HasElementCreator(int32_t aNameSpaceID) { return aNameSpaceID == kNameSpaceID_XHTML || -#ifdef MOZ_XUL aNameSpaceID == kNameSpaceID_XUL || -#endif aNameSpaceID == kNameSpaceID_MathML || aNameSpaceID == kNameSpaceID_SVG || false; |