summaryrefslogtreecommitdiffstats
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
commit915df34663bd3d9380516cfecf74325f86c9213d (patch)
treed9bf2b24e7eb7fa403571a37969e36de42ef0cc7
parentea14415e49cb57ecd0ba5d134e69d6a822d972bc (diff)
downloadUXP-915df34663bd3d9380516cfecf74325f86c9213d.tar
UXP-915df34663bd3d9380516cfecf74325f86c9213d.tar.gz
UXP-915df34663bd3d9380516cfecf74325f86c9213d.tar.lz
UXP-915df34663bd3d9380516cfecf74325f86c9213d.tar.xz
UXP-915df34663bd3d9380516cfecf74325f86c9213d.zip
Issue #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 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 d3e922ee5..fe9dcbcff 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 6d6fa1ca9..a3b643c72 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 08cf1d78d..56f5133d9 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',