Bug 935778 - Part 0.8: Spray some more MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree

This commit is contained in:
Ehsan Akhgari 2014-03-08 12:14:32 -05:00
parent f8ef2dd06d
commit b965cde2f2
3 changed files with 3 additions and 0 deletions

View File

@ -384,6 +384,7 @@ struct RemoteImageData {
class ImageContainer : public SupportsWeakPtr<ImageContainer> {
NS_INLINE_DECL_THREADSAFE_REFCOUNTING(ImageContainer)
public:
MOZ_DECLARE_REFCOUNTED_TYPENAME(ImageContainer)
enum { DISABLE_ASYNC = 0x0, ENABLE_ASYNC = 0x01 };

View File

@ -21,6 +21,7 @@ class ISurfaceAllocator;
class TextureClientPool : public RefCounted<TextureClientPool>
{
public:
MOZ_DECLARE_REFCOUNTED_TYPENAME(TextureClientPool)
TextureClientPool(gfx::SurfaceFormat aFormat, gfx::IntSize aSize,
ISurfaceAllocator *aAllocator);

View File

@ -49,6 +49,7 @@ class ClientLayerManager;
// A class to help implement copy-on-write semantics for shared tiles.
class gfxSharedReadLock : public AtomicRefCounted<gfxSharedReadLock> {
public:
MOZ_DECLARE_REFCOUNTED_TYPENAME(gfxSharedReadLock)
virtual ~gfxSharedReadLock() {}
virtual int32_t ReadLock() = 0;