Skip to content

Commit

Permalink
Bug 1129335 - Add private destructor to D3D9 texture usage reporters.…
Browse files Browse the repository at this point in the history
… r=bgirard
  • Loading branch information
saudion committed Feb 16, 2015
1 parent 8cb676a commit 473f823
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions gfx/thebes/gfxWindowsPlatform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,8 @@ Atomic<size_t> gfxWindowsPlatform::sD3D9MemoryUsed;

class D3D9TextureReporter MOZ_FINAL : public nsIMemoryReporter
{
~D3D9TextureReporter() {}

public:
NS_DECL_ISUPPORTS

Expand All @@ -370,6 +372,8 @@ Atomic<size_t> gfxWindowsPlatform::sD3D9SurfaceImageUsed;

class D3D9SurfaceImageReporter MOZ_FINAL : public nsIMemoryReporter
{
~D3D9SurfaceImageReporter() {}

public:
NS_DECL_ISUPPORTS

Expand All @@ -388,6 +392,8 @@ Atomic<size_t> gfxWindowsPlatform::sD3D9SharedTextureUsed;

class D3D9SharedTextureReporter MOZ_FINAL : public nsIMemoryReporter
{
~D3D9SharedTextureReporter() {}

public:
NS_DECL_ISUPPORTS

Expand Down

0 comments on commit 473f823

Please sign in to comment.