Bug 1626555 - Add dom/svg to the list of non-unified-build-compatible directories. r=sg

Differential Revision: https://phabricator.services.mozilla.com/D96569
This commit is contained in:
Andi-Bogdan Postelnicu 2020-11-10 13:44:03 +00:00
parent 83ffab26f9
commit b9bd386da7
7 changed files with 13 additions and 5 deletions

View File

@ -56,3 +56,4 @@ dom/serviceworkers/
dom/simpledb/
dom/smil/
dom/storage/
dom/svg/

View File

@ -11,15 +11,15 @@
namespace mozilla {
static SVGAttrTearoffTable<SVGAnimatedClassOrString, DOMSVGAnimatedString>
static SVGAttrTearoffTable<SVGAnimatedClassOrString, dom::DOMSVGAnimatedString>
sSVGAnimatedClassOrStringTearoffTable;
already_AddRefed<DOMSVGAnimatedString>
already_AddRefed<dom::DOMSVGAnimatedString>
SVGAnimatedClassOrString::ToDOMAnimatedString(SVGElement* aSVGElement) {
RefPtr<DOMSVGAnimatedString> domAnimatedString =
RefPtr<dom::DOMSVGAnimatedString> domAnimatedString =
sSVGAnimatedClassOrStringTearoffTable.GetTearoff(this);
if (!domAnimatedString) {
domAnimatedString = new DOMSVGAnimatedString(this, aSVGElement);
domAnimatedString = new dom::DOMSVGAnimatedString(this, aSVGElement);
sSVGAnimatedClassOrStringTearoffTable.AddTearoff(this, domAnimatedString);
}

View File

@ -11,6 +11,7 @@
#include "nsMathUtils.h"
#include "SVGAttrTearoffTable.h"
#include "SVGIntegerPairSMILType.h"
#include "mozAutoDocUpdate.h"
#include "mozilla/SMILValue.h"
#include "mozilla/SVGContentUtils.h"

View File

@ -9,7 +9,9 @@
#include "nsError.h"
#include "mozilla/Attributes.h"
#include "mozilla/SMILAttr.h"
#include "mozilla/SVGAnimatedClassOrString.h"
#include "mozilla/dom/SVGElement.h"
#include "mozilla/UniquePtr.h"
namespace mozilla {

View File

@ -15,6 +15,7 @@
#include "mozilla/dom/SVGSVGElement.h"
#include "mozilla/dom/SVGTests.h"
#include "mozilla/dom/SVGUnitTypesBinding.h"
#include "mozilla/dom/Element.h"
#include "mozilla/ArrayUtils.h"
#include "mozilla/DebugOnly.h"
@ -69,7 +70,8 @@ static_assert(sizeof(void*) == sizeof(nullptr),
"nullptr should be the correct size");
nsresult NS_NewSVGElement(
Element** aResult, already_AddRefed<mozilla::dom::NodeInfo>&& aNodeInfo) {
mozilla::dom::Element** aResult,
already_AddRefed<mozilla::dom::NodeInfo>&& aNodeInfo) {
RefPtr<mozilla::dom::NodeInfo> nodeInfo(aNodeInfo);
auto* nim = nodeInfo->NodeInfoManager();
RefPtr<mozilla::dom::SVGElement> it =

View File

@ -7,6 +7,7 @@
#include "mozilla/dom/SVGFEConvolveMatrixElement.h"
#include "mozilla/dom/SVGFEConvolveMatrixElementBinding.h"
#include "mozilla/SVGFilterInstance.h"
#include "mozilla/SVGUtils.h"
#include "mozilla/UniquePtr.h"
#include "mozilla/UniquePtrExtensions.h"
#include "DOMSVGAnimatedNumberList.h"

View File

@ -9,6 +9,7 @@
#include "mozilla/ArrayUtils.h" // MOZ_ARRAY_LENGTH
#include "gfx2DGlue.h"
#include "SVGPathDataParser.h"
#include "nsMathUtils.h"
#include "nsTextFormatter.h"
using namespace mozilla::dom::SVGPathSeg_Binding;