diff --git a/dom/src/base/nsDOMClassInfo.cpp b/dom/src/base/nsDOMClassInfo.cpp index eea2b068c42..02ac768cf42 100644 --- a/dom/src/base/nsDOMClassInfo.cpp +++ b/dom/src/base/nsDOMClassInfo.cpp @@ -3375,7 +3375,7 @@ nsDOMClassInfo::Init() DOM_CLASSINFO_EVENT_MAP_ENTRIES DOM_CLASSINFO_MAP_END -#if defined(MOZ_SVG) && defined(MOZ_SVG_FOREIGNOBJECT) +#ifdef MOZ_SVG DOM_CLASSINFO_MAP_BEGIN(SVGForeignObjectElement, nsIDOMSVGForeignObjectElement) DOM_CLASSINFO_MAP_ENTRY(nsIDOMSVGForeignObjectElement) DOM_CLASSINFO_SVG_GRAPHIC_ELEMENT_MAP_ENTRIES