Issue #80 - De-unify dom/svg

This commit is contained in:
Moonchild 2020-04-23 14:55:34 +00:00 • committed by Roy Tam
commit 9f8785ef66
6 changed files with 12 additions and 3 deletions

View file

@ -21,6 +21,8 @@
#include "nsSVGElement.h" #include "nsSVGElement.h"
#include "mozilla/StyleSheet.h" #include "mozilla/StyleSheet.h"
#include "mozilla/StyleSheetInlines.h" #include "mozilla/StyleSheetInlines.h"
#include "nsContentUtils.h"
#include "nsLayoutUtils.h"
using namespace mozilla::css; using namespace mozilla::css;
using namespace mozilla::dom; using namespace mozilla::dom;

View file

@ -7,9 +7,7 @@
#include "SVGElementFactory.h" #include "SVGElementFactory.h"
#include "nsGkAtoms.h" #include "nsGkAtoms.h"
#include "nsIContent.h" #include "nsIContent.h"
#include "mozilla/dom/NodeInfo.h"
#include "mozilla/dom/Element.h" #include "mozilla/dom/Element.h"
#include "mozilla/dom/FromParser.h"
using namespace mozilla; using namespace mozilla;
using namespace mozilla::dom; using namespace mozilla::dom;

View file

@ -7,6 +7,11 @@
#ifndef mozilla_dom_SVGElementFactory_h #ifndef mozilla_dom_SVGElementFactory_h
#define 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; class nsIAtom;
namespace mozilla { namespace mozilla {

View file

@ -6,6 +6,8 @@
#include "mozilla/dom/SVGGraphicsElement.h" #include "mozilla/dom/SVGGraphicsElement.h"
#include "nsContentUtils.h"
namespace mozilla { namespace mozilla {
namespace dom { namespace dom {

View file

@ -7,6 +7,8 @@
#include "mozilla/dom/SVGSymbolElement.h" #include "mozilla/dom/SVGSymbolElement.h"
#include "mozilla/dom/SVGSymbolElementBinding.h" #include "mozilla/dom/SVGSymbolElementBinding.h"
#include "nsContentUtils.h"
NS_IMPL_NS_NEW_NAMESPACED_SVG_ELEMENT(Symbol) NS_IMPL_NS_NEW_NAMESPACED_SVG_ELEMENT(Symbol)
namespace mozilla { namespace mozilla {

View file

@ -103,7 +103,7 @@ EXPORTS.mozilla.dom += [
'SVGZoomEvent.h', 'SVGZoomEvent.h',
] ]
UNIFIED_SOURCES += [ SOURCES += [
'DOMSVGAnimatedLengthList.cpp', 'DOMSVGAnimatedLengthList.cpp',
'DOMSVGAnimatedNumberList.cpp', 'DOMSVGAnimatedNumberList.cpp',
'DOMSVGLength.cpp', 'DOMSVGLength.cpp',