Issue #80 - De-unify layout/svg

This commit is contained in:
Moonchild 2020-04-30 21:02:50 +00:00 committed by Roy Tam
commit e68128d9ca
10 changed files with 12 additions and 1 deletions

View file

@ -37,6 +37,7 @@
#include "nsTextNode.h"
#include "SVGAnimatedNumberList.h"
#include "SVGContentUtils.h"
#include "SVGContextPaint.h"
#include "SVGLengthList.h"
#include "SVGNumberList.h"
#include "SVGPathElement.h"

View file

@ -21,7 +21,7 @@ EXPORTS.mozilla += [
'SVGContextPaint.h',
]
UNIFIED_SOURCES += [
SOURCES += [
'nsCSSClipPathInstance.cpp',
'nsCSSFilterInstance.cpp',
'nsFilterInstance.cpp',

View file

@ -28,6 +28,7 @@
using namespace mozilla;
using namespace mozilla::dom;
using namespace mozilla::gfx;
using namespace mozilla::image;
FilterDescription
nsFilterInstance::GetFilterDescription(nsIContent* aFilteredElement,

View file

@ -17,6 +17,7 @@
#include "SVGTextFrame.h"
using namespace mozilla;
using namespace mozilla::image;
NS_QUERYFRAME_HEAD(nsSVGContainerFrame)
NS_QUERYFRAME_ENTRY(nsSVGContainerFrame)

View file

@ -13,6 +13,7 @@
#include "mozilla/dom/HTMLCanvasElement.h"
#include "mozilla/dom/SVGFilterElement.h"
#include "nsReferencedElement.h"
#include "nsSVGEffects.h"
#include "nsSVGFilterFrame.h"
#include "nsSVGUtils.h"
#include "SVGContentUtils.h"

View file

@ -10,6 +10,7 @@
#include "gfxRect.h"
#include "nsRegionFwd.h"
#include "mozilla/gfx/Rect.h"
#include "imgIContainer.h"
class gfxContext;
class gfxDrawable;

View file

@ -15,6 +15,7 @@
using namespace mozilla::dom;
using namespace mozilla::gfx;
using namespace mozilla::image;
nsContainerFrame*
NS_NewSVGMarkerFrame(nsIPresShell* aPresShell, nsStyleContext* aContext)

View file

@ -18,9 +18,12 @@
#include "mozilla/dom/SVGSVGElement.h"
#include "mozilla/dom/SVGViewElement.h"
#include "nsSubDocumentFrame.h"
#include "gfxMatrix.h"
using namespace mozilla;
using namespace mozilla::dom;
using namespace mozilla::gfx;
using namespace mozilla::image;
//----------------------------------------------------------------------
// Implementation helpers

View file

@ -11,6 +11,7 @@
#include "nsSVGUtils.h"
using namespace mozilla::gfx;
using namespace mozilla::image;
class nsSVGSwitchFrame : public nsSVGGFrame
{

View file

@ -58,6 +58,7 @@
using namespace mozilla;
using namespace mozilla::dom;
using namespace mozilla::gfx;
using namespace mozilla::image;
static bool sSVGPathCachingEnabled;
static bool sSVGDisplayListHitTestingEnabled;