gecko-dev/gfx/layers/basic
Nathan Froyd 583afa0965 Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan
This commit was generated using the following script, executed at the
top level of a typical source code checkout.

 # Don't modify select files in mfbt/ because it's not worth trying to
 # tease out the dependencies currently.
 #
 # Don't modify anything in media/gmp-clearkey/0.1/ because those files
 # use their own RefPtr, defined in their own RefCounted.h.
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    grep -v 'mfbt/RefPtr.h' | \
    grep -v 'mfbt/nsRefPtr.h' | \
    grep -v 'mfbt/RefCounted.h' | \
    grep -v 'media/gmp-clearkey/0.1/' | \
    xargs perl -p -i -e '
 s/mozilla::RefPtr/nsRefPtr/g; # handle declarations in headers
 s/\bRefPtr</nsRefPtr</g; # handle local variables in functions
 s#mozilla/RefPtr.h#mozilla/nsRefPtr.h#; # handle #includes
 s#mfbt/RefPtr.h#mfbt/nsRefPtr.h#;       # handle strange #includes
'

 # |using mozilla::RefPtr;| is OK; |using nsRefPtr;| is invalid syntax.
find . -name '*.cpp' -o -name '*.mm' | xargs sed -i -e '/using nsRefPtr/d'

 # RefPtr.h used |byRef| for dealing with COM-style outparams.
 # nsRefPtr.h uses |getter_AddRefs|.
 # Fixup that mismatch.
find . -name '*.cpp' -o -name '*.h'| \
    xargs perl -p -i -e 's/byRef/getter_AddRefs/g'
2015-10-18 00:40:10 -04:00
..
AutoMaskData.h Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan 2015-10-18 00:40:10 -04:00
BasicCanvasLayer.cpp Bug 709490 - Part 7: If layer is not available, fallback to BasicCanvasLayer. r=roc 2015-10-12 11:21:03 +08:00
BasicCanvasLayer.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
BasicColorLayer.cpp Bug 1208283 (part 2) - Change ColorLayer::mColor, ColorLayerProperties::mColor, ReadbackLayer::mBackgroundColor from gfxRBGA to gfx::Color. r=jwatt. 2015-09-24 18:16:45 -07:00
BasicCompositor.cpp Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan 2015-10-18 00:40:10 -04:00
BasicCompositor.h Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan 2015-10-18 00:40:10 -04:00
BasicContainerLayer.cpp Bug 1097464 - Part 6: Handle preserves-3d by compositor. r=roc 2015-09-17 03:31:00 +02:00
BasicContainerLayer.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
BasicImageLayer.cpp Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan 2015-10-18 00:40:10 -04:00
BasicImages.cpp Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan 2015-10-18 00:40:10 -04:00
BasicImplData.h Bug 1208345 - Remove gfxContext::GraphicsOperator. r=jwatt. 2015-09-24 22:38:58 -07:00
BasicLayerManager.cpp Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan 2015-10-18 00:40:10 -04:00
BasicLayers.h Bug 1208345 - Remove gfxContext::GraphicsOperator. r=jwatt. 2015-09-24 22:38:58 -07:00
BasicLayersImpl.cpp Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan 2015-10-18 00:40:10 -04:00
BasicLayersImpl.h Bug 1208345 - Remove gfxContext::GraphicsOperator. r=jwatt. 2015-09-24 22:38:58 -07:00
BasicPaintedLayer.cpp Bug 1208345 - Remove gfxContext::GraphicsOperator. r=jwatt. 2015-09-24 22:38:58 -07:00
BasicPaintedLayer.h Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan 2015-10-18 00:40:10 -04:00
MacIOSurfaceTextureHostBasic.cpp Bug 1072313 - Check for more leaks in the layers code. r=mstange 2015-07-29 11:57:03 -04:00
MacIOSurfaceTextureHostBasic.h Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan 2015-10-18 00:40:10 -04:00
TextureClientX11.cpp Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan 2015-10-18 00:40:10 -04:00
TextureClientX11.h Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan 2015-10-18 00:40:10 -04:00
TextureHostBasic.cpp Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
TextureHostBasic.h
X11BasicCompositor.cpp Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan 2015-10-18 00:40:10 -04:00
X11BasicCompositor.h Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan 2015-10-18 00:40:10 -04:00
X11TextureSourceBasic.cpp Bug 1132854 - Remove the gfx::ToIntSize conversion helper. r=Bas 2015-04-07 16:08:57 +02:00
X11TextureSourceBasic.h Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan 2015-10-18 00:40:10 -04:00