gecko/image
Nathan Froyd 46d6f38e68 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
..
build Bug 1038536 - Flatten image/src/ directory. r=seth 2015-05-14 20:52:05 -07:00
decoders Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
encoders Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj 2015-06-03 15:25:57 -07:00
test Bug 1163856 (Part 2) - Fix tests that depended on image load event timing. r=tn 2015-06-30 02:38:01 -07:00
BMPFileHeaders.h Bug 1038536 - Flatten image/src/ directory. r=seth 2015-05-14 20:52:05 -07:00
ClippedImage.cpp Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan 2015-06-17 10:00:52 -04:00
ClippedImage.h Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan 2015-06-17 10:00:52 -04:00
DecodePool.cpp Bug 1166981 - Decode images in LIFO order. r=tn 2015-06-24 11:37:59 -07:00
DecodePool.h Bug 1038536 - Flatten image/src/ directory. r=seth 2015-05-14 20:52:05 -07:00
Decoder.cpp Bug 1174923 - Stop delaying the document load event until images are decoded. r=tn a=kwierso 2015-06-19 15:55:12 -07:00
Decoder.h Bug 1038536 - Flatten image/src/ directory. r=seth 2015-05-14 20:52:05 -07:00
Downscaler.cpp Bug 1038536 - Flatten image/src/ directory. r=seth 2015-05-14 20:52:05 -07:00
Downscaler.h Bug 1038536 - Flatten image/src/ directory. r=seth 2015-05-14 20:52:05 -07:00
DynamicImage.cpp Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan 2015-06-17 10:00:52 -04:00
DynamicImage.h Bug 1038536 - Flatten image/src/ directory. r=seth 2015-05-14 20:52:05 -07:00
FrameAnimator.cpp Backed out changeset dd25b4d148af (bug 1139641) for bustage on a CLOSED TREE 2015-06-03 08:51:36 +02:00
FrameAnimator.h Backed out changeset dd25b4d148af (bug 1139641) for bustage on a CLOSED TREE 2015-06-03 08:51:36 +02:00
FrozenImage.cpp Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan 2015-06-17 10:00:52 -04:00
FrozenImage.h Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan 2015-06-17 10:00:52 -04:00
ICOFileHeaders.h Bug 1038536 - Flatten image/src/ directory. r=seth 2015-05-14 20:52:05 -07:00
Image.cpp Bug 1038536 - Flatten image/src/ directory. r=seth 2015-05-14 20:52:05 -07:00
Image.h Bug 1163856 (Part 1) - Delay the image load event until the size decoder gets finalized. r=tn 2015-06-30 02:37:58 -07:00
ImageCacheKey.cpp Bug 1169680 - Don't merge image cache entries for blob URIs with different refs. r=tn 2015-06-05 01:52:06 -07:00
ImageCacheKey.h Bug 1154974 (Part 2) - Merge image cache entries for blobs URIs with the same underlying blob. r=baku 2015-05-20 18:49:53 -07:00
ImageFactory.cpp Bug 1178274 - Don't enable decode-only-on-draw if the APZ pref is true but e10s is disabled. r=dvander 2015-06-30 06:43:07 -04:00
ImageFactory.h Bug 1038536 - Flatten image/src/ directory. r=seth 2015-05-14 20:52:05 -07:00
ImageLogging.h Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj 2015-06-03 15:25:57 -07:00
ImageMetadata.cpp Bug 1038536 - Flatten image/src/ directory. r=seth 2015-05-14 20:52:05 -07:00
ImageMetadata.h Bug 1038536 - Flatten image/src/ directory. r=seth 2015-05-14 20:52:05 -07:00
ImageOps.cpp Bug 1038536 - Flatten image/src/ directory. r=seth 2015-05-14 20:52:05 -07:00
ImageOps.h Bug 1038536 - Flatten image/src/ directory. r=seth 2015-05-14 20:52:05 -07:00
ImageRegion.h Bug 1038536 - Flatten image/src/ directory. r=seth 2015-05-14 20:52:05 -07:00
ImageURL.h Bug 1169680 - Don't merge image cache entries for blob URIs with different refs. r=tn 2015-06-05 01:52:06 -07:00
ImageWrapper.cpp Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan 2015-06-17 10:00:52 -04:00
ImageWrapper.h Bug 1038536 - Flatten image/src/ directory. r=seth 2015-05-14 20:52:05 -07:00
imgFrame.cpp Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan 2015-06-17 10:00:52 -04:00
imgFrame.h Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan 2015-06-17 10:00:52 -04:00
imgICache.idl Bug 1038536 - Flatten image/public/ directory. r=seth 2015-05-06 10:57:19 -07:00
imgIContainer.idl Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan 2015-06-17 10:00:52 -04:00
imgIContainerDebug.idl Bug 1038536 - Flatten image/public/ directory. r=seth 2015-05-06 10:57:19 -07:00
imgIEncoder.idl Bug 1038536 - Flatten image/public/ directory. r=seth 2015-05-06 10:57:19 -07:00
imgILoader.idl Bug 1038536 - Flatten image/public/ directory. r=seth 2015-05-06 10:57:19 -07:00
imgINotificationObserver.idl Bug 1038536 - Flatten image/public/ directory. r=seth 2015-05-06 10:57:19 -07:00
imgIOnloadBlocker.idl Bug 1038536 - Flatten image/public/ directory. r=seth 2015-05-06 10:57:19 -07:00
imgIRequest.idl Bug 1038536 - Flatten image/public/ directory. r=seth 2015-05-06 10:57:19 -07:00
imgIScriptedNotificationObserver.idl Bug 1038536 - Flatten image/public/ directory. r=seth 2015-05-06 10:57:19 -07:00
imgITools.idl Bug 1038536 - Flatten image/public/ directory. r=seth 2015-05-06 10:57:19 -07:00
imgLoader.cpp Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj 2015-06-03 15:25:57 -07:00
imgLoader.h Bug 1160703 (Part 1) - Move ImageCacheKey out of imgLoader.h. r=baku 2015-05-20 10:21:09 -07:00
imgRequest.cpp Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj 2015-06-03 15:25:57 -07:00
imgRequest.h Bug 1160703 (Part 3) - Associate an imgRequest with its ImageCacheKey. r=baku 2015-05-20 10:21:13 -07:00
imgRequestProxy.cpp Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj 2015-06-03 15:25:57 -07:00
imgRequestProxy.h Bug 1167590 - Mark imgRequestProxy::mListener as MOZ_UNSAFE_REF. r=seth 2015-06-15 14:21:00 -04:00
imgTools.cpp Bug 1038536 - Flatten image/src/ directory. r=seth 2015-05-14 20:52:05 -07:00
imgTools.h Bug 1038536 - Flatten image/src/ directory. r=seth 2015-05-14 20:52:05 -07:00
IProgressObserver.h Bug 1038536 - Flatten image/src/ directory. r=seth 2015-05-14 20:52:05 -07:00
moz.build Bug 1160703 (Part 1) - Move ImageCacheKey out of imgLoader.h. r=baku 2015-05-20 10:21:09 -07:00
MultipartImage.cpp Bug 1038536 - Flatten image/src/ directory. r=seth 2015-05-14 20:52:05 -07:00
MultipartImage.h Bug 1038536 - Flatten image/src/ directory. r=seth 2015-05-14 20:52:05 -07:00
nsIIconURI.idl Bug 1038536 - Flatten image/public/ directory. r=seth 2015-05-06 10:57:19 -07:00
Orientation.h Bug 1038536 - Flatten image/src/ directory. r=seth 2015-05-14 20:52:05 -07:00
OrientedImage.cpp Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan 2015-06-17 10:00:52 -04:00
OrientedImage.h Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan 2015-06-17 10:00:52 -04:00
ProgressTracker.cpp Bug 1163856 (Part 1) - Delay the image load event until the size decoder gets finalized. r=tn 2015-06-30 02:37:58 -07:00
ProgressTracker.h Bug 1038536 - Flatten image/src/ directory. r=seth 2015-05-14 20:52:05 -07:00
RasterImage.cpp Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan 2015-06-17 10:00:52 -04:00
RasterImage.h Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan 2015-06-17 10:00:52 -04:00
ScriptedNotificationObserver.cpp Bug 1038536 - Flatten image/src/ directory. r=seth 2015-05-14 20:52:05 -07:00
ScriptedNotificationObserver.h Bug 1038536 - Flatten image/src/ directory. r=seth 2015-05-14 20:52:05 -07:00
ShutdownTracker.cpp Bug 1038536 - Flatten image/src/ directory. r=seth 2015-05-14 20:52:05 -07:00
ShutdownTracker.h Bug 1038536 - Flatten image/src/ directory. r=seth 2015-05-14 20:52:05 -07:00
SourceBuffer.cpp Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElement calls. r=froydnj 2015-05-28 11:07:44 -07:00
SourceBuffer.h Bug 1038536 - Flatten image/src/ directory. r=seth 2015-05-14 20:52:05 -07:00
SurfaceCache.cpp Backed out changeset dd25b4d148af (bug 1139641) for bustage on a CLOSED TREE 2015-06-03 08:51:36 +02:00
SurfaceCache.h Backed out changeset dd25b4d148af (bug 1139641) for bustage on a CLOSED TREE 2015-06-03 08:51:36 +02:00
SVGDocumentWrapper.cpp Bug 1038536 - Flatten image/src/ directory. r=seth 2015-05-14 20:52:05 -07:00
SVGDocumentWrapper.h Bug 1038536 - Flatten image/src/ directory. r=seth 2015-05-14 20:52:05 -07:00
VectorImage.cpp Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan 2015-06-17 10:00:52 -04:00
VectorImage.h Bug 1175371 - Make VectorImage wait to deliver LOAD_COMPLETE until its size is available. r=dholbert 2015-06-18 14:48:41 -07:00