summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-04-23 14:55:34 +0000
committerMoonchild <moonchild@palemoon.org>2020-04-23 14:55:34 +0000
commitf03f103659b00f5e2213e94bfbe64c91603a00ba (patch)
treed9bf2b24e7eb7fa403571a37969e36de42ef0cc7
parentb0f55ddf348af68777de32d1659f91040fd03ce6 (diff)
downloaduxp-f03f103659b00f5e2213e94bfbe64c91603a00ba.tar.gz
Issue mcp-graveyard/UXP#80 - De-unify dom/svg
-rw-r--r--dom/svg/SVGDocument.cpp2
-rw-r--r--dom/svg/SVGElementFactory.cpp2
-rw-r--r--dom/svg/SVGElementFactory.h5
-rw-r--r--dom/svg/SVGGraphicsElement.cpp2
-rw-r--r--dom/svg/SVGSymbolElement.cpp2
-rw-r--r--dom/svg/moz.build2
6 files changed, 12 insertions, 3 deletions
diff --git a/dom/svg/SVGDocument.cpp b/dom/svg/SVGDocument.cpp
index f992e52f5c..8b677d2e33 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 d3e922ee57..fe9dcbcff7 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 6d6fa1ca9d..a3b643c724 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 ba63066803..4b85c9abbf 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 42de96efd1..a1b52bfab4 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 08cf1d78d1..56f5133d9b 100644
--- a/dom/svg/moz.build
+++ b/dom/svg/moz.build
@@ -103,7 +103,7 @@ EXPORTS.mozilla.dom += [
'SVGZoomEvent.h',
]
-UNIFIED_SOURCES += [
+SOURCES += [
'DOMSVGAnimatedLengthList.cpp',
'DOMSVGAnimatedNumberList.cpp',
'DOMSVGLength.cpp',