зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset b100ed804d46 (bug 1722316) for causing cpp unified-bustages in SVGFEMorphologyElement.cpp.
CLOSED TREE
This commit is contained in:
Родитель
7a7028b3ff
Коммит
bead970f1f
|
@ -384,21 +384,3 @@ custom DocumentQueryCommandSupportedOrEnabledHeading calls queryCommandSupported
|
|||
custom DocumentQueryCommandSupportedOrEnabledContentReadOnly calls queryCommandSupported or queryCommandEnabled with contentReadOnly
|
||||
custom DocumentQueryCommandSupportedOrEnabledReadOnly calls queryCommandSupported or queryCommandEnabled with readonly
|
||||
custom DocumentQueryCommandSupportedOrEnabledInsertBrOnReturn calls queryCommandSupported or queryCommandEnabled with insertBrOnReturn
|
||||
|
||||
// SVG filters
|
||||
custom feBlend uses the feBlend SVG filter.
|
||||
custom feColorMatrix uses the feColorMatrix SVG filter.
|
||||
custom feComponentTransfer uses the feComponentTransfer SVG filter.
|
||||
custom feComposite uses the feComposite SVG filter.
|
||||
custom feConvolveMatrix uses the feConvolveMatrix SVG filter.
|
||||
custom feDiffuseLighting uses the feDiffuseLighting SVG filter.
|
||||
custom feDisplacementMap uses the feDisplacementMap SVG filter.
|
||||
custom feFlood uses the feFlood SVG filter.
|
||||
custom feGaussianBlur uses the feGaussianBlur SVG filter.
|
||||
custom feImage uses the feImage SVG filter.
|
||||
custom feMerge uses the feMerge SVG filter.
|
||||
custom feMorphology uses the feMorphology SVG filter.
|
||||
custom feOffset uses the feOffset SVG filter.
|
||||
custom feSpecularLighting uses the feSpecularLighting SVG filter.
|
||||
custom feTile uses the feTile SVG filter.
|
||||
custom feTurbulence uses the feTurbulence SVG filter.
|
||||
|
|
|
@ -6,8 +6,6 @@
|
|||
|
||||
#include "mozilla/dom/SVGFEBlendElement.h"
|
||||
#include "mozilla/dom/SVGFEBlendElementBinding.h"
|
||||
#include "mozilla/dom/Document.h"
|
||||
#include "mozilla/dom/BindContext.h"
|
||||
|
||||
NS_IMPL_NS_NEW_SVG_ELEMENT(FEBlend)
|
||||
|
||||
|
@ -92,14 +90,6 @@ void SVGFEBlendElement::GetSourceImageNames(nsTArray<SVGStringInfo>& aSources) {
|
|||
aSources.AppendElement(SVGStringInfo(&mStringAttributes[IN2], this));
|
||||
}
|
||||
|
||||
nsresult SVGFEBlendElement::BindToTree(BindContext& aCtx, nsINode& aParent) {
|
||||
if (aCtx.InComposedDoc()) {
|
||||
aCtx.OwnerDoc().SetUseCounter(eUseCounter_custom_feBlend);
|
||||
}
|
||||
|
||||
return SVGFE::BindToTree(aCtx, aParent);
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
// SVGElement methods
|
||||
|
||||
|
|
|
@ -43,8 +43,6 @@ class SVGFEBlendElement : public SVGFEBlendElementBase {
|
|||
|
||||
virtual nsresult Clone(dom::NodeInfo*, nsINode** aResult) const override;
|
||||
|
||||
virtual nsresult BindToTree(BindContext&, nsINode& aParent) override;
|
||||
|
||||
// WebIDL
|
||||
already_AddRefed<DOMSVGAnimatedString> In1();
|
||||
already_AddRefed<DOMSVGAnimatedString> In2();
|
||||
|
|
|
@ -8,8 +8,6 @@
|
|||
|
||||
#include "DOMSVGAnimatedNumberList.h"
|
||||
#include "mozilla/dom/SVGFEColorMatrixElementBinding.h"
|
||||
#include "mozilla/dom/Document.h"
|
||||
#include "mozilla/dom/BindContext.h"
|
||||
|
||||
#define NUM_ENTRIES_IN_4x5_MATRIX 20
|
||||
|
||||
|
@ -108,15 +106,6 @@ bool SVGFEColorMatrixElement::AttributeAffectsRendering(
|
|||
aAttribute == nsGkAtoms::values));
|
||||
}
|
||||
|
||||
nsresult SVGFEColorMatrixElement::BindToTree(BindContext& aCtx,
|
||||
nsINode& aParent) {
|
||||
if (aCtx.InComposedDoc()) {
|
||||
aCtx.OwnerDoc().SetUseCounter(eUseCounter_custom_feColorMatrix);
|
||||
}
|
||||
|
||||
return SVGFE::BindToTree(aCtx, aParent);
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
// SVGElement methods
|
||||
|
||||
|
|
|
@ -47,8 +47,6 @@ class SVGFEColorMatrixElement : public SVGFEColorMatrixElementBase {
|
|||
|
||||
virtual nsresult Clone(dom::NodeInfo*, nsINode** aResult) const override;
|
||||
|
||||
virtual nsresult BindToTree(BindContext& aCtx, nsINode& aParent) override;
|
||||
|
||||
// WebIDL
|
||||
already_AddRefed<DOMSVGAnimatedString> In1();
|
||||
already_AddRefed<DOMSVGAnimatedEnumeration> Type();
|
||||
|
|
|
@ -9,8 +9,6 @@
|
|||
#include "mozilla/dom/SVGComponentTransferFunctionElement.h"
|
||||
#include "mozilla/dom/SVGFEComponentTransferElementBinding.h"
|
||||
#include "mozilla/gfx/2D.h"
|
||||
#include "mozilla/dom/Document.h"
|
||||
#include "mozilla/dom/BindContext.h"
|
||||
|
||||
NS_IMPL_NS_NEW_SVG_ELEMENT(FEComponentTransfer)
|
||||
|
||||
|
@ -90,14 +88,5 @@ void SVGFEComponentTransferElement::GetSourceImageNames(
|
|||
aSources.AppendElement(SVGStringInfo(&mStringAttributes[IN1], this));
|
||||
}
|
||||
|
||||
nsresult SVGFEComponentTransferElement::BindToTree(BindContext& aCtx,
|
||||
nsINode& aParent) {
|
||||
if (aCtx.InComposedDoc()) {
|
||||
aCtx.OwnerDoc().SetUseCounter(eUseCounter_custom_feComponentTransfer);
|
||||
}
|
||||
|
||||
return SVGFE::BindToTree(aCtx, aParent);
|
||||
}
|
||||
|
||||
} // namespace dom
|
||||
} // namespace mozilla
|
||||
|
|
|
@ -44,8 +44,6 @@ class SVGFEComponentTransferElement : public SVGFEComponentTransferElementBase {
|
|||
// nsIContent
|
||||
virtual nsresult Clone(dom::NodeInfo*, nsINode** aResult) const override;
|
||||
|
||||
virtual nsresult BindToTree(BindContext&, nsINode& aParent) override;
|
||||
|
||||
// WebIDL
|
||||
already_AddRefed<DOMSVGAnimatedString> In1();
|
||||
|
||||
|
|
|
@ -6,8 +6,6 @@
|
|||
|
||||
#include "mozilla/dom/SVGFECompositeElement.h"
|
||||
#include "mozilla/dom/SVGFECompositeElementBinding.h"
|
||||
#include "mozilla/dom/Document.h"
|
||||
#include "mozilla/dom/BindContext.h"
|
||||
|
||||
NS_IMPL_NS_NEW_SVG_ELEMENT(FEComposite)
|
||||
|
||||
|
@ -119,15 +117,6 @@ void SVGFECompositeElement::GetSourceImageNames(
|
|||
aSources.AppendElement(SVGStringInfo(&mStringAttributes[IN2], this));
|
||||
}
|
||||
|
||||
nsresult SVGFECompositeElement::BindToTree(BindContext& aCtx,
|
||||
nsINode& aParent) {
|
||||
if (aCtx.InComposedDoc()) {
|
||||
aCtx.OwnerDoc().SetUseCounter(eUseCounter_custom_feComposite);
|
||||
}
|
||||
|
||||
return SVGFE::BindToTree(aCtx, aParent);
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
// SVGElement methods
|
||||
|
||||
|
|
|
@ -45,8 +45,6 @@ class SVGFECompositeElement : public SVGFECompositeElementBase {
|
|||
|
||||
virtual nsresult Clone(dom::NodeInfo*, nsINode** aResult) const override;
|
||||
|
||||
virtual nsresult BindToTree(BindContext& aCtx, nsINode& aParent) override;
|
||||
|
||||
// WebIDL
|
||||
already_AddRefed<DOMSVGAnimatedString> In1();
|
||||
already_AddRefed<DOMSVGAnimatedString> In2();
|
||||
|
|
|
@ -11,8 +11,6 @@
|
|||
#include "mozilla/UniquePtr.h"
|
||||
#include "mozilla/UniquePtrExtensions.h"
|
||||
#include "DOMSVGAnimatedNumberList.h"
|
||||
#include "mozilla/dom/Document.h"
|
||||
#include "mozilla/dom/BindContext.h"
|
||||
|
||||
NS_IMPL_NS_NEW_SVG_ELEMENT(FEConvolveMatrix)
|
||||
|
||||
|
@ -222,15 +220,6 @@ bool SVGFEConvolveMatrixElement::AttributeAffectsRendering(
|
|||
aAttribute == nsGkAtoms::kernelMatrix));
|
||||
}
|
||||
|
||||
nsresult SVGFEConvolveMatrixElement::BindToTree(BindContext& aCtx,
|
||||
nsINode& aParent) {
|
||||
if (aCtx.InComposedDoc()) {
|
||||
aCtx.OwnerDoc().SetUseCounter(eUseCounter_custom_feConvolveMatrix);
|
||||
}
|
||||
|
||||
return SVGFE::BindToTree(aCtx, aParent);
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
// SVGElement methods
|
||||
|
||||
|
|
|
@ -53,8 +53,6 @@ class SVGFEConvolveMatrixElement : public SVGFEConvolveMatrixElementBase {
|
|||
|
||||
virtual nsresult Clone(dom::NodeInfo*, nsINode** aResult) const override;
|
||||
|
||||
virtual nsresult BindToTree(BindContext& aCtx, nsINode& aParent) override;
|
||||
|
||||
// WebIDL
|
||||
already_AddRefed<DOMSVGAnimatedString> In1();
|
||||
already_AddRefed<DOMSVGAnimatedInteger> OrderX();
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
#include "mozilla/dom/SVGFEDiffuseLightingElement.h"
|
||||
#include "mozilla/dom/SVGFEDiffuseLightingElementBinding.h"
|
||||
#include "mozilla/SVGFilterInstance.h"
|
||||
#include "mozilla/dom/Document.h"
|
||||
#include "mozilla/dom/BindContext.h"
|
||||
|
||||
NS_IMPL_NS_NEW_SVG_ELEMENT(FEDiffuseLighting)
|
||||
|
||||
|
@ -78,14 +76,5 @@ bool SVGFEDiffuseLightingElement::AttributeAffectsRendering(
|
|||
aAttribute == nsGkAtoms::diffuseConstant);
|
||||
}
|
||||
|
||||
nsresult SVGFEDiffuseLightingElement::BindToTree(BindContext& aCtx,
|
||||
nsINode& aParent) {
|
||||
if (aCtx.InComposedDoc()) {
|
||||
aCtx.OwnerDoc().SetUseCounter(eUseCounter_custom_feDiffuseLighting);
|
||||
}
|
||||
|
||||
return SVGFE::BindToTree(aCtx, aParent);
|
||||
}
|
||||
|
||||
} // namespace dom
|
||||
} // namespace mozilla
|
||||
|
|
|
@ -39,8 +39,6 @@ class SVGFEDiffuseLightingElement : public SVGFEDiffuseLightingElementBase {
|
|||
|
||||
virtual nsresult Clone(dom::NodeInfo*, nsINode** aResult) const override;
|
||||
|
||||
virtual nsresult BindToTree(BindContext& aCtx, nsINode& aParent) override;
|
||||
|
||||
// WebIDL
|
||||
already_AddRefed<DOMSVGAnimatedString> In1();
|
||||
already_AddRefed<DOMSVGAnimatedNumber> SurfaceScale();
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
#include "mozilla/dom/SVGFEDisplacementMapElement.h"
|
||||
#include "mozilla/dom/SVGFEDisplacementMapElementBinding.h"
|
||||
#include "mozilla/SVGFilterInstance.h"
|
||||
#include "mozilla/dom/Document.h"
|
||||
#include "mozilla/dom/BindContext.h"
|
||||
|
||||
NS_IMPL_NS_NEW_SVG_ELEMENT(FEDisplacementMap)
|
||||
|
||||
|
@ -111,15 +109,6 @@ void SVGFEDisplacementMapElement::GetSourceImageNames(
|
|||
aSources.AppendElement(SVGStringInfo(&mStringAttributes[IN2], this));
|
||||
}
|
||||
|
||||
nsresult SVGFEDisplacementMapElement::BindToTree(BindContext& aCtx,
|
||||
nsINode& aParent) {
|
||||
if (aCtx.InComposedDoc()) {
|
||||
aCtx.OwnerDoc().SetUseCounter(eUseCounter_custom_feDisplacementMap);
|
||||
}
|
||||
|
||||
return SVGFE::BindToTree(aCtx, aParent);
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
// SVGElement methods
|
||||
|
||||
|
|
|
@ -43,8 +43,6 @@ class SVGFEDisplacementMapElement : public SVGFEDisplacementMapElementBase {
|
|||
|
||||
virtual nsresult Clone(dom::NodeInfo*, nsINode** aResult) const override;
|
||||
|
||||
virtual nsresult BindToTree(BindContext& aCtx, nsINode& aParent) override;
|
||||
|
||||
// WebIDL
|
||||
already_AddRefed<DOMSVGAnimatedString> In1();
|
||||
already_AddRefed<DOMSVGAnimatedString> In2();
|
||||
|
|
|
@ -10,8 +10,6 @@
|
|||
#include "mozilla/dom/SVGFEFloodElementBinding.h"
|
||||
#include "nsColor.h"
|
||||
#include "nsIFrame.h"
|
||||
#include "mozilla/dom/Document.h"
|
||||
#include "mozilla/dom/BindContext.h"
|
||||
|
||||
NS_IMPL_NS_NEW_SVG_ELEMENT(FEFlood)
|
||||
|
||||
|
@ -62,14 +60,6 @@ SVGFEFloodElement::IsAttributeMapped(const nsAtom* name) const {
|
|||
SVGFEFloodElementBase::IsAttributeMapped(name);
|
||||
}
|
||||
|
||||
nsresult SVGFEFloodElement::BindToTree(BindContext& aCtx, nsINode& aParent) {
|
||||
if (aCtx.InComposedDoc()) {
|
||||
aCtx.OwnerDoc().SetUseCounter(eUseCounter_custom_feFlood);
|
||||
}
|
||||
|
||||
return SVGFE::BindToTree(aCtx, aParent);
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
// SVGElement methods
|
||||
|
||||
|
|
|
@ -45,8 +45,6 @@ class SVGFEFloodElement : public SVGFEFloodElementBase {
|
|||
|
||||
virtual nsresult Clone(dom::NodeInfo*, nsINode** aResult) const override;
|
||||
|
||||
virtual nsresult BindToTree(BindContext& aCtx, nsINode& aParent) override;
|
||||
|
||||
protected:
|
||||
virtual bool ProducesSRGB() override { return true; }
|
||||
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
#include "mozilla/dom/SVGFEGaussianBlurElement.h"
|
||||
#include "mozilla/dom/SVGFEGaussianBlurElementBinding.h"
|
||||
#include "mozilla/SVGFilterInstance.h"
|
||||
#include "mozilla/dom/Document.h"
|
||||
#include "mozilla/dom/BindContext.h"
|
||||
|
||||
NS_IMPL_NS_NEW_SVG_ELEMENT(FEGaussianBlur)
|
||||
|
||||
|
@ -91,15 +89,6 @@ void SVGFEGaussianBlurElement::GetSourceImageNames(
|
|||
aSources.AppendElement(SVGStringInfo(&mStringAttributes[IN1], this));
|
||||
}
|
||||
|
||||
nsresult SVGFEGaussianBlurElement::BindToTree(BindContext& aCtx,
|
||||
nsINode& aParent) {
|
||||
if (aCtx.InComposedDoc()) {
|
||||
aCtx.OwnerDoc().SetUseCounter(eUseCounter_custom_feGaussianBlur);
|
||||
}
|
||||
|
||||
return SVGFE::BindToTree(aCtx, aParent);
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
// SVGElement methods
|
||||
|
||||
|
|
|
@ -45,8 +45,6 @@ class SVGFEGaussianBlurElement : public SVGFEGaussianBlurElementBase {
|
|||
|
||||
virtual nsresult Clone(dom::NodeInfo*, nsINode** aResult) const override;
|
||||
|
||||
virtual nsresult BindToTree(BindContext& aCtx, nsINode& aParent) override;
|
||||
|
||||
// WebIDL
|
||||
already_AddRefed<DOMSVGAnimatedString> In1();
|
||||
already_AddRefed<DOMSVGAnimatedNumber> StdDeviationX();
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
#include "mozilla/EventStates.h"
|
||||
#include "mozilla/SVGObserverUtils.h"
|
||||
#include "mozilla/dom/Document.h"
|
||||
#include "mozilla/dom/BindContext.h"
|
||||
#include "mozilla/dom/SVGFEImageElementBinding.h"
|
||||
#include "mozilla/dom/SVGFilterElement.h"
|
||||
#include "mozilla/dom/UserActivation.h"
|
||||
|
@ -154,10 +153,6 @@ nsresult SVGFEImageElement::BindToTree(BindContext& aContext,
|
|||
&SVGFEImageElement::MaybeLoadSVGImage));
|
||||
}
|
||||
|
||||
if (aContext.InComposedDoc()) {
|
||||
aContext.OwnerDoc().SetUseCounter(eUseCounter_custom_feImage);
|
||||
}
|
||||
|
||||
return rv;
|
||||
}
|
||||
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
#include "mozilla/dom/SVGFEMergeElement.h"
|
||||
#include "mozilla/dom/SVGFEMergeElementBinding.h"
|
||||
#include "mozilla/dom/SVGFEMergeNodeElement.h"
|
||||
#include "mozilla/dom/Document.h"
|
||||
#include "mozilla/dom/BindContext.h"
|
||||
|
||||
NS_IMPL_NS_NEW_SVG_ELEMENT(FEMerge)
|
||||
|
||||
|
@ -44,14 +42,6 @@ void SVGFEMergeElement::GetSourceImageNames(nsTArray<SVGStringInfo>& aSources) {
|
|||
}
|
||||
}
|
||||
|
||||
nsresult SVGFEMergeElement::BindToTree(BindContext& aCtx, nsINode& aParent) {
|
||||
if (aCtx.InComposedDoc()) {
|
||||
aCtx.OwnerDoc().SetUseCounter(eUseCounter_custom_feMerge);
|
||||
}
|
||||
|
||||
return SVGFE::BindToTree(aCtx, aParent);
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
// SVGElement methods
|
||||
|
||||
|
|
|
@ -42,8 +42,6 @@ class SVGFEMergeElement : public SVGFEMergeElementBase {
|
|||
// nsIContent
|
||||
virtual nsresult Clone(dom::NodeInfo*, nsINode** aResult) const override;
|
||||
|
||||
virtual nsresult BindToTree(BindContext& aCtx, nsINode& aParent) override;
|
||||
|
||||
protected:
|
||||
virtual StringAttributesInfo GetStringInfo() override;
|
||||
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
#include "mozilla/dom/SVGFEMorphologyElement.h"
|
||||
#include "mozilla/dom/SVGFEMorphologyElementBinding.h"
|
||||
#include "mozilla/SVGFilterInstance.h"
|
||||
#include "mozilla/dom/BindContext.h"
|
||||
|
||||
NS_IMPL_NS_NEW_SVG_ELEMENT(FEMorphology)
|
||||
|
||||
|
@ -110,15 +109,6 @@ bool SVGFEMorphologyElement::AttributeAffectsRendering(
|
|||
aAttribute == nsGkAtoms::_operator));
|
||||
}
|
||||
|
||||
nsresult SVGFEMorphologyElement::BindToTree(BindContext& aCtx,
|
||||
nsINode& aParent) {
|
||||
if (aCtx.InComposedDoc()) {
|
||||
aCtx.OwnerDoc().SetUseCounter(eUseCounter_custom_feMorphology);
|
||||
}
|
||||
|
||||
return SVGFE::BindToTree(aCtx, aParent);
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
// SVGElement methods
|
||||
|
||||
|
|
|
@ -46,8 +46,6 @@ class SVGFEMorphologyElement : public SVGFEMorphologyElementBase {
|
|||
|
||||
virtual nsresult Clone(dom::NodeInfo*, nsINode** aResult) const override;
|
||||
|
||||
virtual nsresult BindToTree(BindContext& aCtx, nsINode& aParent) override;
|
||||
|
||||
// WebIDL
|
||||
already_AddRefed<DOMSVGAnimatedString> In1();
|
||||
already_AddRefed<DOMSVGAnimatedEnumeration> Operator();
|
||||
|
@ -62,8 +60,6 @@ class SVGFEMorphologyElement : public SVGFEMorphologyElementBase {
|
|||
virtual EnumAttributesInfo GetEnumInfo() override;
|
||||
virtual StringAttributesInfo GetStringInfo() override;
|
||||
|
||||
void UpdateUseCounter() const;
|
||||
|
||||
enum { RADIUS };
|
||||
SVGAnimatedNumberPair mNumberPairAttributes[1];
|
||||
static NumberPairInfo sNumberPairInfo[1];
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
#include "mozilla/dom/SVGFEOffsetElement.h"
|
||||
#include "mozilla/dom/SVGFEOffsetElementBinding.h"
|
||||
#include "mozilla/SVGFilterInstance.h"
|
||||
#include "mozilla/dom/Document.h"
|
||||
#include "mozilla/dom/BindContext.h"
|
||||
|
||||
NS_IMPL_NS_NEW_SVG_ELEMENT(FEOffset)
|
||||
|
||||
|
@ -75,14 +73,6 @@ void SVGFEOffsetElement::GetSourceImageNames(
|
|||
aSources.AppendElement(SVGStringInfo(&mStringAttributes[IN1], this));
|
||||
}
|
||||
|
||||
nsresult SVGFEOffsetElement::BindToTree(BindContext& aCtx, nsINode& aParent) {
|
||||
if (aCtx.InComposedDoc()) {
|
||||
aCtx.OwnerDoc().SetUseCounter(eUseCounter_custom_feOffset);
|
||||
}
|
||||
|
||||
return SVGFE::BindToTree(aCtx, aParent);
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
// SVGElement methods
|
||||
|
||||
|
|
|
@ -45,8 +45,6 @@ class SVGFEOffsetElement : public SVGFEOffsetElementBase {
|
|||
|
||||
virtual nsresult Clone(dom::NodeInfo*, nsINode** aResult) const override;
|
||||
|
||||
virtual nsresult BindToTree(BindContext&, nsINode& aParent) override;
|
||||
|
||||
// WebIDL
|
||||
already_AddRefed<DOMSVGAnimatedString> In1();
|
||||
already_AddRefed<DOMSVGAnimatedNumber> Dx();
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
#include "mozilla/dom/SVGFESpecularLightingElement.h"
|
||||
#include "mozilla/dom/SVGFESpecularLightingElementBinding.h"
|
||||
#include "mozilla/SVGFilterInstance.h"
|
||||
#include "mozilla/dom/Document.h"
|
||||
#include "mozilla/dom/BindContext.h"
|
||||
|
||||
NS_IMPL_NS_NEW_SVG_ELEMENT(FESpecularLighting)
|
||||
|
||||
|
@ -94,14 +92,5 @@ bool SVGFESpecularLightingElement::AttributeAffectsRendering(
|
|||
aAttribute == nsGkAtoms::specularExponent));
|
||||
}
|
||||
|
||||
nsresult SVGFESpecularLightingElement::BindToTree(BindContext& aCtx,
|
||||
nsINode& aParent) {
|
||||
if (aCtx.InComposedDoc()) {
|
||||
aCtx.OwnerDoc().SetUseCounter(eUseCounter_custom_feSpecularLighting);
|
||||
}
|
||||
|
||||
return SVGFE::BindToTree(aCtx, aParent);
|
||||
}
|
||||
|
||||
} // namespace dom
|
||||
} // namespace mozilla
|
||||
|
|
|
@ -34,8 +34,6 @@ class SVGFESpecularLightingElement : public SVGFESpecularLightingElementBase {
|
|||
public:
|
||||
virtual nsresult Clone(dom::NodeInfo*, nsINode** aResult) const override;
|
||||
|
||||
virtual nsresult BindToTree(BindContext&, nsINode& aParent) override;
|
||||
|
||||
virtual FilterPrimitiveDescription GetPrimitiveDescription(
|
||||
SVGFilterInstance* aInstance, const IntRect& aFilterSubregion,
|
||||
const nsTArray<bool>& aInputsAreTainted,
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
#include "mozilla/dom/SVGFETileElement.h"
|
||||
#include "mozilla/dom/SVGFETileElementBinding.h"
|
||||
#include "mozilla/SVGFilterInstance.h"
|
||||
#include "mozilla/dom/Document.h"
|
||||
#include "mozilla/dom/BindContext.h"
|
||||
|
||||
NS_IMPL_NS_NEW_SVG_ELEMENT(FETile)
|
||||
|
||||
|
@ -64,13 +62,5 @@ SVGElement::StringAttributesInfo SVGFETileElement::GetStringInfo() {
|
|||
ArrayLength(sStringInfo));
|
||||
}
|
||||
|
||||
nsresult SVGFETileElement::BindToTree(BindContext& aCtx, nsINode& aParent) {
|
||||
if (aCtx.InComposedDoc()) {
|
||||
aCtx.OwnerDoc().SetUseCounter(eUseCounter_custom_feTile);
|
||||
}
|
||||
|
||||
return SVGFE::BindToTree(aCtx, aParent);
|
||||
}
|
||||
|
||||
} // namespace dom
|
||||
} // namespace mozilla
|
||||
|
|
|
@ -45,8 +45,6 @@ class SVGFETileElement : public SVGFETileElementBase {
|
|||
|
||||
virtual nsresult Clone(dom::NodeInfo*, nsINode** aResult) const override;
|
||||
|
||||
virtual nsresult BindToTree(BindContext& aCtx, nsINode& aParent) override;
|
||||
|
||||
// WebIDL
|
||||
already_AddRefed<DOMSVGAnimatedString> In1();
|
||||
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
#include "mozilla/dom/SVGFETurbulenceElement.h"
|
||||
#include "mozilla/dom/SVGFETurbulenceElementBinding.h"
|
||||
#include "mozilla/SVGFilterInstance.h"
|
||||
#include "mozilla/dom/Document.h"
|
||||
#include "mozilla/dom/BindContext.h"
|
||||
|
||||
NS_IMPL_NS_NEW_SVG_ELEMENT(FETurbulence)
|
||||
|
||||
|
@ -155,15 +153,6 @@ bool SVGFETurbulenceElement::AttributeAffectsRendering(
|
|||
aAttribute == nsGkAtoms::stitchTiles));
|
||||
}
|
||||
|
||||
nsresult SVGFETurbulenceElement::BindToTree(BindContext& aCtx,
|
||||
nsINode& aParent) {
|
||||
if (aCtx.InComposedDoc()) {
|
||||
aCtx.OwnerDoc().SetUseCounter(eUseCounter_custom_feTurbulence);
|
||||
}
|
||||
|
||||
return SVGFE::BindToTree(aCtx, aParent);
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
// SVGElement methods
|
||||
|
||||
|
|
|
@ -48,8 +48,6 @@ class SVGFETurbulenceElement : public SVGFETurbulenceElementBase {
|
|||
|
||||
virtual nsresult Clone(dom::NodeInfo*, nsINode** aResult) const override;
|
||||
|
||||
virtual nsresult BindToTree(BindContext&, nsINode& aParent) override;
|
||||
|
||||
// WebIDL
|
||||
already_AddRefed<DOMSVGAnimatedNumber> BaseFrequencyX();
|
||||
already_AddRefed<DOMSVGAnimatedNumber> BaseFrequencyY();
|
||||
|
|
Загрузка…
Ссылка в новой задаче