Bug 900133 - Fix leak reporting for MemoryTextureHost. r=nical
authorMatt Woodrow <mwoodrow@mozilla.com>
Thu, 01 Aug 2013 21:12:16 -0400
changeset 141168 fc4eb733fd773f5ad0a011cb875564776e239a84
parent 141167 60c4ed147847374889959023102c93e2a47eb4db
child 141169 9ea3f06786ea4c63d7e9c47e1dca01b31768a079
push id32003
push usermwoodrow@mozilla.com
push dateFri, 02 Aug 2013 17:05:20 +0000
treeherdermozilla-inbound@b1b429edac78 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnical
bugs900133
milestone25.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 900133 - Fix leak reporting for MemoryTextureHost. r=nical
gfx/layers/composite/TextureHost.cpp
--- a/gfx/layers/composite/TextureHost.cpp
+++ b/gfx/layers/composite/TextureHost.cpp
@@ -449,17 +449,17 @@ MemoryTextureHost::MemoryTextureHost(uin
 , mBuffer(aBuffer)
 {
   MOZ_COUNT_CTOR(MemoryTextureHost);
 }
 
 MemoryTextureHost::~MemoryTextureHost()
 {
   DeallocateDeviceData();
-  MOZ_COUNT_DTOR(ShmemTextureHost);
+  MOZ_COUNT_DTOR(MemoryTextureHost);
 }
 
 void
 MemoryTextureHost::DeallocateSharedData()
 {
   delete[] mBuffer;
 }