Bug 1127772 - Add private destructor to D3D11TextureReporter. r=benwa

This commit is contained in:
Jacek Caban 2015-01-30 02:55:00 +01:00
parent ba4587a44d
commit fb3f37659f

View File

@ -191,7 +191,7 @@ NS_IMPL_ISUPPORTS(GfxD2DVramReporter, nsIMemoryReporter)
#define GFX_CLEARTYPE_PARAMS_STRUCTURE "gfx.font_rendering.cleartype_params.pixel_structure"
#define GFX_CLEARTYPE_PARAMS_MODE "gfx.font_rendering.cleartype_params.rendering_mode"
class GPUAdapterReporter : public nsIMemoryReporter
class GPUAdapterReporter MOZ_FINAL : public nsIMemoryReporter
{
// Callers must Release the DXGIAdapter after use or risk mem-leak
static bool GetDXGIAdapter(IDXGIAdapter **DXGIAdapter)
@ -330,6 +330,8 @@ Atomic<size_t> gfxWindowsPlatform::sD3D11MemoryUsed;
class D3D11TextureReporter MOZ_FINAL : public nsIMemoryReporter
{
~D3D11TextureReporter() {}
public:
NS_DECL_ISUPPORTS