mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Bug 1516576: Adjust dom/svg/*.cpp files to include their own header first. r=longsonr
Differential Revision: https://phabricator.services.mozilla.com/D15443 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
af42705511
commit
bb0c446650
@ -4,8 +4,9 @@
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "SVGElement.h"
|
||||
#include "DOMSVGLengthList.h"
|
||||
|
||||
#include "SVGElement.h"
|
||||
#include "DOMSVGLength.h"
|
||||
#include "nsError.h"
|
||||
#include "SVGAnimatedLengthList.h"
|
||||
|
@ -4,8 +4,9 @@
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "SVGElement.h"
|
||||
#include "DOMSVGNumberList.h"
|
||||
|
||||
#include "SVGElement.h"
|
||||
#include "DOMSVGNumber.h"
|
||||
#include "nsError.h"
|
||||
#include "SVGAnimatedNumberList.h"
|
||||
|
@ -4,9 +4,9 @@
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "mozilla/ArrayUtils.h"
|
||||
|
||||
#include "SVGAnimatedPreserveAspectRatio.h"
|
||||
|
||||
#include "mozilla/ArrayUtils.h"
|
||||
#include "mozilla/dom/SVGAnimatedPreserveAspectRatioBinding.h"
|
||||
#include "nsSMILValue.h"
|
||||
#include "nsSVGAttrTearoffTable.h"
|
||||
|
@ -4,9 +4,9 @@
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "mozilla/ArrayUtils.h"
|
||||
|
||||
#include "mozilla/dom/SVGClipPathElement.h"
|
||||
|
||||
#include "mozilla/ArrayUtils.h"
|
||||
#include "mozilla/dom/SVGClipPathElementBinding.h"
|
||||
#include "mozilla/dom/SVGUnitTypesBinding.h"
|
||||
#include "nsGkAtoms.h"
|
||||
|
@ -4,12 +4,12 @@
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "mozilla/dom/SVGElement.h"
|
||||
|
||||
#include "mozilla/ArrayUtils.h"
|
||||
#include "mozilla/DebugOnly.h"
|
||||
#include "mozilla/Unused.h"
|
||||
|
||||
#include "SVGElement.h"
|
||||
|
||||
#include "mozilla/dom/MutationEventBinding.h"
|
||||
#include "mozilla/dom/SVGAnimatedEnumeration.h"
|
||||
#include "mozilla/dom/SVGElementBinding.h"
|
||||
|
@ -4,8 +4,9 @@
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "DOMSVGAnimatedNumberList.h"
|
||||
#include "mozilla/dom/SVGFEColorMatrixElement.h"
|
||||
|
||||
#include "DOMSVGAnimatedNumberList.h"
|
||||
#include "mozilla/dom/SVGFEColorMatrixElementBinding.h"
|
||||
#include "nsSVGUtils.h"
|
||||
|
||||
|
@ -15,6 +15,8 @@ nsresult NS_NewSVGFEColorMatrixElement(
|
||||
nsIContent** aResult, already_AddRefed<mozilla::dom::NodeInfo>&& aNodeInfo);
|
||||
|
||||
namespace mozilla {
|
||||
class DOMSVGAnimatedNumberList;
|
||||
|
||||
namespace dom {
|
||||
|
||||
typedef SVGFE SVGFEColorMatrixElementBase;
|
||||
|
@ -4,8 +4,9 @@
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "mozilla/dom/SVGComponentTransferFunctionElement.h"
|
||||
#include "mozilla/dom/SVGFEComponentTransferElement.h"
|
||||
|
||||
#include "mozilla/dom/SVGComponentTransferFunctionElement.h"
|
||||
#include "mozilla/dom/SVGFEComponentTransferElementBinding.h"
|
||||
#include "nsSVGUtils.h"
|
||||
#include "mozilla/gfx/2D.h"
|
||||
|
@ -4,11 +4,11 @@
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "mozilla/ArrayUtils.h"
|
||||
#include "mozilla/dom/SVGFilterElement.h"
|
||||
|
||||
#include "nsGkAtoms.h"
|
||||
#include "nsCOMPtr.h"
|
||||
#include "mozilla/dom/SVGFilterElement.h"
|
||||
#include "mozilla/ArrayUtils.h"
|
||||
#include "mozilla/dom/SVGFilterElementBinding.h"
|
||||
#include "mozilla/dom/SVGLengthBinding.h"
|
||||
#include "mozilla/dom/SVGUnitTypesBinding.h"
|
||||
|
@ -4,7 +4,7 @@
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "mozilla/ArrayUtils.h"
|
||||
#include "SVGFilters.h"
|
||||
|
||||
#include "SVGElement.h"
|
||||
#include "nsGkAtoms.h"
|
||||
@ -19,7 +19,6 @@
|
||||
#include "SVGNumberList.h"
|
||||
#include "SVGAnimatedNumberList.h"
|
||||
#include "DOMSVGAnimatedNumberList.h"
|
||||
#include "SVGFilters.h"
|
||||
#include "nsLayoutUtils.h"
|
||||
#include "nsSVGUtils.h"
|
||||
#include "mozilla/ComputedStyle.h"
|
||||
@ -29,6 +28,7 @@
|
||||
#include "nsSVGString.h"
|
||||
#include "SVGContentUtils.h"
|
||||
#include <algorithm>
|
||||
#include "mozilla/ArrayUtils.h"
|
||||
#include "mozilla/dom/SVGAnimatedLength.h"
|
||||
#include "mozilla/dom/SVGComponentTransferFunctionElement.h"
|
||||
#include "mozilla/dom/SVGFEDistantLightElement.h"
|
||||
|
@ -4,11 +4,11 @@
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "mozilla/ArrayUtils.h"
|
||||
#include "mozilla/dom/SVGForeignObjectElement.h"
|
||||
|
||||
#include "nsCOMPtr.h"
|
||||
#include "mozilla/ArrayUtils.h"
|
||||
#include "mozilla/dom/SVGDocument.h"
|
||||
#include "mozilla/dom/SVGForeignObjectElement.h"
|
||||
#include "mozilla/dom/SVGForeignObjectElementBinding.h"
|
||||
#include "mozilla/dom/SVGLengthBinding.h"
|
||||
|
||||
|
@ -4,11 +4,11 @@
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "mozilla/dom/SVGImageElement.h"
|
||||
|
||||
#include "mozilla/ArrayUtils.h"
|
||||
#include "mozilla/EventStateManager.h"
|
||||
#include "mozilla/EventStates.h"
|
||||
|
||||
#include "mozilla/dom/SVGImageElement.h"
|
||||
#include "mozilla/gfx/2D.h"
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsIURI.h"
|
||||
|
@ -4,10 +4,10 @@
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "mozilla/ArrayUtils.h"
|
||||
|
||||
#include "mozilla/dom/SVGMPathElement.h"
|
||||
|
||||
#include "nsDebug.h"
|
||||
#include "mozilla/ArrayUtils.h"
|
||||
#include "mozilla/dom/SVGAnimateMotionElement.h"
|
||||
#include "mozilla/dom/SVGPathElement.h"
|
||||
#include "nsContentUtils.h"
|
||||
|
@ -4,16 +4,16 @@
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "mozilla/ArrayUtils.h"
|
||||
#include "mozilla/dom/SVGMarkerElement.h"
|
||||
|
||||
#include "nsGkAtoms.h"
|
||||
#include "nsCOMPtr.h"
|
||||
#include "SVGAnimatedPreserveAspectRatio.h"
|
||||
#include "nsError.h"
|
||||
#include "mozilla/ArrayUtils.h"
|
||||
#include "mozilla/dom/SVGAngle.h"
|
||||
#include "mozilla/dom/SVGGeometryElement.h"
|
||||
#include "mozilla/dom/SVGLengthBinding.h"
|
||||
#include "mozilla/dom/SVGMarkerElement.h"
|
||||
#include "mozilla/dom/SVGMarkerElementBinding.h"
|
||||
#include "mozilla/gfx/Matrix.h"
|
||||
#include "mozilla/FloatingPoint.h"
|
||||
|
@ -4,12 +4,12 @@
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "mozilla/ArrayUtils.h"
|
||||
#include "mozilla/dom/SVGMaskElement.h"
|
||||
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsGkAtoms.h"
|
||||
#include "mozilla/ArrayUtils.h"
|
||||
#include "mozilla/dom/SVGLengthBinding.h"
|
||||
#include "mozilla/dom/SVGMaskElement.h"
|
||||
#include "mozilla/dom/SVGMaskElementBinding.h"
|
||||
#include "mozilla/dom/SVGUnitTypesBinding.h"
|
||||
|
||||
|
@ -4,9 +4,9 @@
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "mozilla/ArrayUtils.h"
|
||||
|
||||
#include "SVGNumberList.h"
|
||||
|
||||
#include "mozilla/ArrayUtils.h"
|
||||
#include "nsCharSeparatedTokenizer.h"
|
||||
#include "nsString.h"
|
||||
#include "nsTextFormatter.h"
|
||||
|
@ -4,9 +4,9 @@
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "mozilla/DebugOnly.h"
|
||||
|
||||
#include "SVGPathSegListSMILType.h"
|
||||
|
||||
#include "mozilla/DebugOnly.h"
|
||||
#include "nsSMILValue.h"
|
||||
#include "SVGPathSegUtils.h"
|
||||
#include "SVGPathData.h"
|
||||
|
@ -4,10 +4,9 @@
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "mozilla/ArrayUtils.h" // MOZ_ARRAY_LENGTH
|
||||
|
||||
#include "SVGPathSegUtils.h"
|
||||
|
||||
#include "mozilla/ArrayUtils.h" // MOZ_ARRAY_LENGTH
|
||||
#include "gfx2DGlue.h"
|
||||
#include "SVGPathDataParser.h"
|
||||
#include "nsTextFormatter.h"
|
||||
|
@ -4,8 +4,9 @@
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "mozilla/ContentEvents.h"
|
||||
#include "mozilla/dom/SVGSVGElement.h"
|
||||
|
||||
#include "mozilla/ContentEvents.h"
|
||||
#include "mozilla/dom/SVGSVGElementBinding.h"
|
||||
#include "mozilla/dom/SVGMatrix.h"
|
||||
#include "mozilla/dom/SVGRect.h"
|
||||
|
@ -4,10 +4,11 @@
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "mozilla/dom/SVGScriptElement.h"
|
||||
|
||||
#include "nsGkAtoms.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsContentUtils.h"
|
||||
#include "mozilla/dom/SVGScriptElement.h"
|
||||
#include "mozilla/dom/SVGScriptElementBinding.h"
|
||||
#include "nsIScriptError.h"
|
||||
|
||||
|
@ -4,8 +4,9 @@
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "mozilla/dom/Element.h"
|
||||
#include "mozilla/dom/SVGStyleElement.h"
|
||||
|
||||
#include "mozilla/dom/Element.h"
|
||||
#include "nsContentUtils.h"
|
||||
#include "mozilla/dom/SVGStyleElementBinding.h"
|
||||
|
||||
|
@ -4,9 +4,9 @@
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "mozilla/ArrayUtils.h"
|
||||
|
||||
#include "mozilla/dom/SVGTextPositioningElement.h"
|
||||
|
||||
#include "mozilla/ArrayUtils.h"
|
||||
#include "SVGAnimatedLengthList.h"
|
||||
#include "DOMSVGAnimatedLengthList.h"
|
||||
#include "DOMSVGAnimatedNumberList.h"
|
||||
|
@ -4,9 +4,9 @@
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "mozilla/ArrayUtils.h"
|
||||
|
||||
#include "SVGTransformListParser.h"
|
||||
|
||||
#include "mozilla/ArrayUtils.h"
|
||||
#include "SVGContentUtils.h"
|
||||
#include "nsSVGTransform.h"
|
||||
#include "nsGkAtoms.h"
|
||||
|
@ -4,10 +4,10 @@
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "mozilla/dom/SVGUseElement.h"
|
||||
|
||||
#include "mozilla/ArrayUtils.h"
|
||||
#include "mozilla/ErrorResult.h"
|
||||
|
||||
#include "mozilla/dom/SVGUseElement.h"
|
||||
#include "mozilla/dom/SVGLengthBinding.h"
|
||||
#include "mozilla/dom/SVGUseElementBinding.h"
|
||||
#include "nsGkAtoms.h"
|
||||
|
@ -4,6 +4,8 @@
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "mozilla/dom/SVGViewportElement.h"
|
||||
|
||||
#include <stdint.h>
|
||||
#include "mozilla/ArrayUtils.h"
|
||||
#include "mozilla/ContentEvents.h"
|
||||
@ -11,7 +13,6 @@
|
||||
#include "mozilla/Likely.h"
|
||||
#include "mozilla/dom/SVGLengthBinding.h"
|
||||
#include "mozilla/dom/SVGMatrix.h"
|
||||
#include "mozilla/dom/SVGViewportElement.h"
|
||||
#include "mozilla/dom/SVGViewElement.h"
|
||||
|
||||
#include "DOMSVGLength.h"
|
||||
|
@ -4,9 +4,10 @@
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "nsSVGBoolean.h"
|
||||
|
||||
#include "nsError.h"
|
||||
#include "nsSVGAttrTearoffTable.h"
|
||||
#include "nsSVGBoolean.h"
|
||||
#include "nsSMILValue.h"
|
||||
#include "SMILBoolType.h"
|
||||
#include "SVGAnimatedBoolean.h"
|
||||
|
@ -4,9 +4,10 @@
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "nsSVGEnum.h"
|
||||
|
||||
#include "nsError.h"
|
||||
#include "nsSVGAttrTearoffTable.h"
|
||||
#include "nsSVGEnum.h"
|
||||
#include "nsAtom.h"
|
||||
#include "SVGElement.h"
|
||||
#include "nsSMILValue.h"
|
||||
|
@ -4,9 +4,10 @@
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "nsSVGInteger.h"
|
||||
|
||||
#include "nsError.h"
|
||||
#include "nsSVGAttrTearoffTable.h"
|
||||
#include "nsSVGInteger.h"
|
||||
#include "nsSMILValue.h"
|
||||
#include "SMILIntegerType.h"
|
||||
#include "SVGContentUtils.h"
|
||||
|
@ -4,9 +4,9 @@
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "mozilla/ArrayUtils.h"
|
||||
|
||||
#include "nsSVGLength2.h"
|
||||
|
||||
#include "mozilla/ArrayUtils.h"
|
||||
#include "mozilla/dom/SVGAnimatedLength.h"
|
||||
#include "mozilla/dom/SVGViewportElement.h"
|
||||
#include "nsContentUtils.h" // NS_ENSURE_FINITE
|
||||
|
@ -4,8 +4,9 @@
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "nsError.h"
|
||||
#include "nsSVGTransform.h"
|
||||
|
||||
#include "nsError.h"
|
||||
#include "nsContentUtils.h" // for NS_ENSURE_FINITE
|
||||
#include "nsTextFormatter.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user