summaryrefslogtreecommitdiffstats
path: root/dom
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-04-23 14:55:34 +0000
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-04-26 10:20:27 +0200
commit11519ee6d2dd64db8089a74013feac50d58fcf43 (patch)
tree87bca3e4f54a2136e420566a8773bbbc93e3bc35 /dom
parent8a343284d90c79797961be371605e0147c5d2a8d (diff)
downloadUXP-11519ee6d2dd64db8089a74013feac50d58fcf43.tar
UXP-11519ee6d2dd64db8089a74013feac50d58fcf43.tar.gz
UXP-11519ee6d2dd64db8089a74013feac50d58fcf43.tar.lz
UXP-11519ee6d2dd64db8089a74013feac50d58fcf43.tar.xz
UXP-11519ee6d2dd64db8089a74013feac50d58fcf43.zip
Issue #80 - De-unify dom/svg
Diffstat (limited to 'dom')
-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 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',