From 11519ee6d2dd64db8089a74013feac50d58fcf43 Mon Sep 17 00:00:00 2001 From: Moonchild Date: Thu, 23 Apr 2020 14:55:34 +0000 Subject: Issue #80 - De-unify dom/svg --- dom/svg/SVGDocument.cpp | 2 ++ dom/svg/SVGElementFactory.cpp | 2 -- dom/svg/SVGElementFactory.h | 5 +++++ dom/svg/SVGGraphicsElement.cpp | 2 ++ dom/svg/SVGSymbolElement.cpp | 2 ++ dom/svg/moz.build | 2 +- 6 files changed, 12 insertions(+), 3 deletions(-) (limited to 'dom') diff --git a/dom/svg/SVGDocument.cpp b/dom/svg/SVGDocument.cpp index f992e52f5..8b677d2e3 100644 --- a/dom/svg/SVGDocument.cpp +++ b/dom/svg/SVGDocument.cpp @@ -21,6 +21,8 @@ #include "nsSVGElement.h" #include "mozilla/StyleSheet.h" #include "mozilla/StyleSheetInlines.h" +#include "nsContentUtils.h" +#include "nsLayoutUtils.h" using namespace mozilla::css; using namespace mozilla::dom; diff --git a/dom/svg/SVGElementFactory.cpp b/dom/svg/SVGElementFactory.cpp index abbb0a865..3738275f3 100644 --- a/dom/svg/SVGElementFactory.cpp +++ b/dom/svg/SVGElementFactory.cpp @@ -7,9 +7,7 @@ #include "SVGElementFactory.h" #include "nsGkAtoms.h" #include "nsIContent.h" -#include "mozilla/dom/NodeInfo.h" #include "mozilla/dom/Element.h" -#include "mozilla/dom/FromParser.h" using namespace mozilla; using namespace mozilla::dom; diff --git a/dom/svg/SVGElementFactory.h b/dom/svg/SVGElementFactory.h index 3a75ef750..4c57b296d 100644 --- a/dom/svg/SVGElementFactory.h +++ b/dom/svg/SVGElementFactory.h @@ -7,6 +7,11 @@ #ifndef mozilla_dom_SVGElementFactory_h #define mozilla_dom_SVGElementFactory_h +#include "nsError.h" +#include "nsIContent.h" +#include "mozilla/dom/FromParser.h" +#include "mozilla/dom/NodeInfo.h" + class nsIAtom; namespace mozilla { diff --git a/dom/svg/SVGGraphicsElement.cpp b/dom/svg/SVGGraphicsElement.cpp index ba6306680..4b85c9abb 100644 --- a/dom/svg/SVGGraphicsElement.cpp +++ b/dom/svg/SVGGraphicsElement.cpp @@ -6,6 +6,8 @@ #include "mozilla/dom/SVGGraphicsElement.h" +#include "nsContentUtils.h" + namespace mozilla { namespace dom { diff --git a/dom/svg/SVGSymbolElement.cpp b/dom/svg/SVGSymbolElement.cpp index 42de96efd..a1b52bfab 100644 --- a/dom/svg/SVGSymbolElement.cpp +++ b/dom/svg/SVGSymbolElement.cpp @@ -7,6 +7,8 @@ #include "mozilla/dom/SVGSymbolElement.h" #include "mozilla/dom/SVGSymbolElementBinding.h" +#include "nsContentUtils.h" + NS_IMPL_NS_NEW_NAMESPACED_SVG_ELEMENT(Symbol) namespace mozilla { diff --git a/dom/svg/moz.build b/dom/svg/moz.build index 298a7293d..3bbb26dd8 100644 --- a/dom/svg/moz.build +++ b/dom/svg/moz.build @@ -101,7 +101,7 @@ EXPORTS.mozilla.dom += [ 'SVGZoomEvent.h', ] -UNIFIED_SOURCES += [ +SOURCES += [ 'DOMSVGAnimatedLengthList.cpp', 'DOMSVGAnimatedNumberList.cpp', 'DOMSVGLength.cpp', -- cgit v1.2.3