Bug 1129335 - Add private destructor to D3D9 texture usage reporters. r=bgirard

This commit is contained in:
zhoubcfan 2015-02-16 12:37:43 +01:00
parent 320cfe155a
commit 40d6e6f995

View File

@ -352,6 +352,8 @@ Atomic<size_t> gfxWindowsPlatform::sD3D9MemoryUsed;
class D3D9TextureReporter MOZ_FINAL : public nsIMemoryReporter
{
~D3D9TextureReporter() {}
public:
NS_DECL_ISUPPORTS
@ -370,6 +372,8 @@ Atomic<size_t> gfxWindowsPlatform::sD3D9SurfaceImageUsed;
class D3D9SurfaceImageReporter MOZ_FINAL : public nsIMemoryReporter
{
~D3D9SurfaceImageReporter() {}
public:
NS_DECL_ISUPPORTS
@ -388,6 +392,8 @@ Atomic<size_t> gfxWindowsPlatform::sD3D9SharedTextureUsed;
class D3D9SharedTextureReporter MOZ_FINAL : public nsIMemoryReporter
{
~D3D9SharedTextureReporter() {}
public:
NS_DECL_ISUPPORTS