gecko-dev/dom/svg
Nathan Froyd 974d8120f2 Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan
This conversion was done with the script:

  find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl' | \
    egrep -v 'cairo-win32-refptr.h|RefPtr.h|TestRefPtr.cpp' | \
    xargs sed -i -e 's/mozilla::TemporaryRef</already_AddRefed</g' \
                 -e 's/TemporaryRef</already_AddRefed</g'

Manual fixups were performed in the following instances:

- We handled mfbt/RefPtr.h manually so as to not convert TemporaryRef itself
  into already_AddRefed.

- The following files had explicit Move() calls added to make up for the lack
  of a copy constructor on already_AddRefed:

  dom/base/ImageEncoder.cpp
  dom/media/MediaTaskQueue.{h,cpp}
  dom/media/webaudio/PannerNode.cpp

- A redundant overload for MediaTaskQueue::Dispatch was deleted.

- A few manual fixups were required in mfbt/tests/TestRefPtr.cpp.

- Comments, using declarations, and forward declarations relating to
  TemporaryRef in dom/canvas/ and gfx/layers/ were changed to refer to
  already_AddRefed.
2015-06-17 10:00:52 -04:00
..
crashtests
test
DOMSVGAnimatedLengthList.cpp
DOMSVGAnimatedLengthList.h
DOMSVGAnimatedNumberList.cpp
DOMSVGAnimatedNumberList.h
DOMSVGLength.cpp
DOMSVGLength.h
DOMSVGLengthList.cpp Bug 968520 - Add mozilla::fallible to FallibleTArray::InsertElementAt calls. r=froydnj 2015-05-28 11:07:43 -07:00
DOMSVGLengthList.h
DOMSVGNumber.cpp
DOMSVGNumber.h
DOMSVGNumberList.cpp Bug 968520 - Add mozilla::fallible to FallibleTArray::InsertElementAt calls. r=froydnj 2015-05-28 11:07:43 -07:00
DOMSVGNumberList.h
DOMSVGPathSeg.cpp
DOMSVGPathSeg.h
DOMSVGPathSegList.cpp Bug 968520 - Add mozilla::fallible to more FallibleTArray::InsertElementsAt calls. r=froydnj 2015-06-09 17:27:35 -07:00
DOMSVGPathSegList.h
DOMSVGPoint.cpp
DOMSVGPoint.h
DOMSVGPointList.cpp Bug 968520 - Add mozilla::fallible to FallibleTArray::InsertElementAt calls. r=froydnj 2015-05-28 11:07:43 -07:00
DOMSVGPointList.h
DOMSVGStringList.cpp
DOMSVGStringList.h
DOMSVGTransformList.cpp Bug 968520 - Add mozilla::fallible to FallibleTArray::InsertElementAt calls. r=froydnj 2015-05-28 11:07:43 -07:00
DOMSVGTransformList.h
moz.build
nsISVGPoint.cpp
nsISVGPoint.h
nsSVGAngle.cpp Bug 1168903 part 2: Use Move() instead of nsSMILValue::Swap() to populate outparams from temp variables in SMIL functions. r=birtles 2015-05-29 13:10:41 -07:00
nsSVGAngle.h
nsSVGAnimatedTransformList.cpp Bug 1168903 part 2: Use Move() instead of nsSMILValue::Swap() to populate outparams from temp variables in SMIL functions. r=birtles 2015-05-29 13:10:41 -07:00
nsSVGAnimatedTransformList.h
nsSVGAttrTearoffTable.h
nsSVGBoolean.cpp
nsSVGBoolean.h
nsSVGClass.cpp Bug 1168903 part 2: Use Move() instead of nsSMILValue::Swap() to populate outparams from temp variables in SMIL functions. r=birtles 2015-05-29 13:10:41 -07:00
nsSVGClass.h
nsSVGDataParser.cpp
nsSVGDataParser.h
nsSVGElement.cpp Bug 968923 - part 2 - change MappedAttrParser to store a nsSVGElement directly, instead of its nsIPrincipal; r=smaug 2015-02-05 12:32:14 -05:00
nsSVGElement.h
nsSVGEnum.cpp
nsSVGEnum.h
nsSVGFeatures.cpp
nsSVGFeatures.h
nsSVGFeaturesList.h
nsSVGFilters.cpp
nsSVGFilters.h
nsSVGInteger.cpp
nsSVGInteger.h
nsSVGIntegerPair.cpp
nsSVGIntegerPair.h
nsSVGLength2.cpp
nsSVGLength2.h
nsSVGNumber2.cpp
nsSVGNumber2.h
nsSVGNumberPair.cpp
nsSVGNumberPair.h
nsSVGPathDataParser.cpp
nsSVGPathDataParser.h
nsSVGPathGeometryElement.cpp Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan 2015-06-17 10:00:52 -04:00
nsSVGPathGeometryElement.h Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan 2015-06-17 10:00:52 -04:00
nsSVGPolyElement.cpp
nsSVGPolyElement.h
nsSVGString.cpp Bug 1168903 part 2: Use Move() instead of nsSMILValue::Swap() to populate outparams from temp variables in SMIL functions. r=birtles 2015-05-29 13:10:41 -07:00
nsSVGString.h
nsSVGTransform.cpp
nsSVGTransform.h
nsSVGViewBox.cpp Bug 1168903 part 2: Use Move() instead of nsSMILValue::Swap() to populate outparams from temp variables in SMIL functions. r=birtles 2015-05-29 13:10:41 -07:00
nsSVGViewBox.h
SVGAElement.cpp
SVGAElement.h
SVGAltGlyphElement.cpp
SVGAltGlyphElement.h
SVGAngle.cpp
SVGAngle.h
SVGAnimatedAngle.cpp
SVGAnimatedAngle.h
SVGAnimatedBoolean.cpp
SVGAnimatedBoolean.h
SVGAnimatedEnumeration.cpp
SVGAnimatedEnumeration.h
SVGAnimatedInteger.cpp
SVGAnimatedInteger.h
SVGAnimatedLength.cpp
SVGAnimatedLength.h
SVGAnimatedLengthList.cpp Bug 1168903 part 2: Use Move() instead of nsSMILValue::Swap() to populate outparams from temp variables in SMIL functions. r=birtles 2015-05-29 13:10:41 -07:00
SVGAnimatedLengthList.h
SVGAnimatedNumber.cpp
SVGAnimatedNumber.h
SVGAnimatedNumberList.cpp Bug 1168903 part 2: Use Move() instead of nsSMILValue::Swap() to populate outparams from temp variables in SMIL functions. r=birtles 2015-05-29 13:10:41 -07:00
SVGAnimatedNumberList.h
SVGAnimatedPathSegList.cpp Bug 1168903 part 2: Use Move() instead of nsSMILValue::Swap() to populate outparams from temp variables in SMIL functions. r=birtles 2015-05-29 13:10:41 -07:00
SVGAnimatedPathSegList.h
SVGAnimatedPointList.cpp Bug 1168903 part 2: Use Move() instead of nsSMILValue::Swap() to populate outparams from temp variables in SMIL functions. r=birtles 2015-05-29 13:10:41 -07:00
SVGAnimatedPointList.h
SVGAnimatedPreserveAspectRatio.cpp
SVGAnimatedPreserveAspectRatio.h
SVGAnimatedRect.cpp
SVGAnimatedRect.h
SVGAnimatedString.cpp
SVGAnimatedString.h
SVGAnimatedTransformList.cpp
SVGAnimatedTransformList.h
SVGAnimateElement.cpp
SVGAnimateElement.h
SVGAnimateMotionElement.cpp
SVGAnimateMotionElement.h
SVGAnimateTransformElement.cpp
SVGAnimateTransformElement.h
SVGAnimationElement.cpp
SVGAnimationElement.h
SVGAttrValueWrapper.cpp
SVGAttrValueWrapper.h
SVGCircleElement.cpp Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan 2015-06-17 10:00:52 -04:00
SVGCircleElement.h Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan 2015-06-17 10:00:52 -04:00
SVGClipPathElement.cpp
SVGClipPathElement.h
SVGComponentTransferFunctionElement.h
SVGContentUtils.cpp Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan 2015-06-17 10:00:52 -04:00
SVGContentUtils.h Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan 2015-06-17 10:00:52 -04:00
SVGDefsElement.cpp
SVGDefsElement.h
SVGDescElement.cpp
SVGDescElement.h
SVGDocument.cpp Bug 1169514 - Part 2: Move noframes rules from the preferences style sheet to a cached UA style sheet. r=jwatt 2015-06-16 11:34:47 +10:00
SVGDocument.h
SVGElementFactory.cpp
SVGElementFactory.h
SVGEllipseElement.cpp Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan 2015-06-17 10:00:52 -04:00
SVGEllipseElement.h Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan 2015-06-17 10:00:52 -04:00
SVGFEBlendElement.cpp
SVGFEBlendElement.h
SVGFEColorMatrixElement.cpp
SVGFEColorMatrixElement.h
SVGFEComponentTransferElement.cpp
SVGFEComponentTransferElement.h
SVGFECompositeElement.cpp
SVGFECompositeElement.h
SVGFEConvolveMatrixElement.cpp
SVGFEConvolveMatrixElement.h
SVGFEDiffuseLightingElement.cpp
SVGFEDiffuseLightingElement.h
SVGFEDisplacementMapElement.cpp
SVGFEDisplacementMapElement.h
SVGFEDistantLightElement.cpp
SVGFEDistantLightElement.h
SVGFEDropShadowElement.cpp
SVGFEDropShadowElement.h
SVGFEFloodElement.cpp
SVGFEFloodElement.h
SVGFEGaussianBlurElement.cpp
SVGFEGaussianBlurElement.h
SVGFEImageElement.cpp
SVGFEImageElement.h
SVGFEMergeElement.cpp
SVGFEMergeElement.h
SVGFEMergeNodeElement.cpp
SVGFEMergeNodeElement.h
SVGFEMorphologyElement.cpp
SVGFEMorphologyElement.h
SVGFEOffsetElement.cpp
SVGFEOffsetElement.h
SVGFEPointLightElement.cpp
SVGFEPointLightElement.h
SVGFESpecularLightingElement.cpp
SVGFESpecularLightingElement.h
SVGFESpotLightElement.cpp
SVGFESpotLightElement.h
SVGFETileElement.cpp
SVGFETileElement.h
SVGFETurbulenceElement.cpp
SVGFETurbulenceElement.h
SVGFilterElement.cpp
SVGFilterElement.h
SVGForeignObjectElement.cpp
SVGForeignObjectElement.h
SVGFragmentIdentifier.cpp
SVGFragmentIdentifier.h
SVGGElement.cpp
SVGGElement.h
SVGGradientElement.cpp
SVGGradientElement.h
SVGGraphicsElement.cpp
SVGGraphicsElement.h
SVGImageElement.cpp Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan 2015-06-17 10:00:52 -04:00
SVGImageElement.h Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan 2015-06-17 10:00:52 -04:00
SVGIntegerPairSMILType.cpp
SVGIntegerPairSMILType.h
SVGIRect.h
SVGLength.cpp
SVGLength.h
SVGLengthList.cpp
SVGLengthList.h Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElement calls. r=froydnj 2015-05-28 11:07:44 -07:00
SVGLengthListSMILType.cpp
SVGLengthListSMILType.h
SVGLineElement.cpp Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan 2015-06-17 10:00:52 -04:00
SVGLineElement.h Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan 2015-06-17 10:00:52 -04:00
SVGMarkerElement.cpp
SVGMarkerElement.h
SVGMaskElement.cpp
SVGMaskElement.h
SVGMatrix.cpp
SVGMatrix.h
SVGMetadataElement.cpp
SVGMetadataElement.h
SVGMotionSMILAnimationFunction.cpp Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElement calls. r=froydnj 2015-05-28 11:07:44 -07:00
SVGMotionSMILAnimationFunction.h
SVGMotionSMILAttr.cpp
SVGMotionSMILAttr.h
SVGMotionSMILPathUtils.cpp Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan 2015-06-17 10:00:52 -04:00
SVGMotionSMILPathUtils.h Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan 2015-06-17 10:00:52 -04:00
SVGMotionSMILType.cpp Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElement calls. r=froydnj 2015-05-28 11:07:44 -07:00
SVGMotionSMILType.h
SVGMPathElement.cpp
SVGMPathElement.h
SVGNumberList.cpp
SVGNumberList.h Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElement calls. r=froydnj 2015-05-28 11:07:44 -07:00
SVGNumberListSMILType.cpp
SVGNumberListSMILType.h
SVGNumberPairSMILType.cpp
SVGNumberPairSMILType.h
SVGOrientSMILType.cpp
SVGOrientSMILType.h
SVGPathData.cpp Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan 2015-06-17 10:00:52 -04:00
SVGPathData.h Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan 2015-06-17 10:00:52 -04:00
SVGPathElement.cpp Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan 2015-06-17 10:00:52 -04:00
SVGPathElement.h Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan 2015-06-17 10:00:52 -04:00
SVGPathSegListSMILType.cpp
SVGPathSegListSMILType.h
SVGPathSegUtils.cpp
SVGPathSegUtils.h
SVGPatternElement.cpp
SVGPatternElement.h
SVGPoint.h
SVGPointList.cpp
SVGPointList.h Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElement calls. r=froydnj 2015-05-28 11:07:44 -07:00
SVGPointListSMILType.cpp
SVGPointListSMILType.h
SVGPolygonElement.cpp Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan 2015-06-17 10:00:52 -04:00
SVGPolygonElement.h Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan 2015-06-17 10:00:52 -04:00
SVGPolylineElement.cpp Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan 2015-06-17 10:00:52 -04:00
SVGPolylineElement.h Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan 2015-06-17 10:00:52 -04:00
SVGPreserveAspectRatio.cpp
SVGPreserveAspectRatio.h
SVGRect.cpp
SVGRect.h
SVGRectElement.cpp Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan 2015-06-17 10:00:52 -04:00
SVGRectElement.h Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan 2015-06-17 10:00:52 -04:00
SVGScriptElement.cpp Bug 1167189: Add an infallible version of nsContentUtils::GetNodeTextContent. r=jst 2015-05-22 14:16:20 -04:00
SVGScriptElement.h
SVGSetElement.cpp
SVGSetElement.h
SVGStopElement.cpp
SVGStopElement.h
SVGStringList.cpp
SVGStringList.h Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElement calls. r=froydnj 2015-05-28 11:07:44 -07:00
SVGStyleElement.cpp
SVGStyleElement.h
SVGSVGElement.cpp
SVGSVGElement.h
SVGSwitchElement.cpp
SVGSwitchElement.h
SVGSymbolElement.cpp
SVGSymbolElement.h
SVGTagList.h
SVGTests.cpp
SVGTests.h
SVGTextContentElement.cpp
SVGTextContentElement.h
SVGTextElement.cpp
SVGTextElement.h
SVGTextPathElement.cpp
SVGTextPathElement.h
SVGTextPositioningElement.cpp
SVGTextPositioningElement.h
SVGTitleElement.cpp
SVGTitleElement.h
SVGTransform.cpp
SVGTransform.h
SVGTransformableElement.cpp
SVGTransformableElement.h
SVGTransformList.cpp
SVGTransformList.h Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElement calls. r=froydnj 2015-05-28 11:07:44 -07:00
SVGTransformListParser.cpp Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElement calls. r=froydnj 2015-05-28 11:07:44 -07:00
SVGTransformListParser.h
SVGTransformListSMILType.cpp Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElement calls. r=froydnj 2015-05-28 11:07:44 -07:00
SVGTransformListSMILType.h
SVGTSpanElement.cpp
SVGTSpanElement.h
SVGUseElement.cpp
SVGUseElement.h
SVGViewBoxSMILType.cpp
SVGViewBoxSMILType.h
SVGViewElement.cpp
SVGViewElement.h
SVGZoomEvent.cpp
SVGZoomEvent.h