Bug 967505 - Fix build bustage on a CLOSED TREE.
authorNicolas Silva <nical@mozilla.com>
Mon, 10 Feb 2014 11:50:43 +0100
changeset 167877 5741926de90025eb12f72c67c58c2f2d7eba8050
parent 167876 542f9093ec363842436c557f92552567e2b27174
child 167878 2b457d4ab04e688842c66ff8888f256228bc3e52
push id26191
push userryanvm@gmail.com
push dateMon, 10 Feb 2014 20:42:58 +0000
treeherdermozilla-central@d812f80a0f1d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs967505
milestone30.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 967505 - Fix build bustage on a CLOSED TREE.
gfx/layers/d3d11/TextureD3D11.cpp
--- a/gfx/layers/d3d11/TextureD3D11.cpp
+++ b/gfx/layers/d3d11/TextureD3D11.cpp
@@ -153,17 +153,17 @@ TextureClientD3D11::~TextureClientD3D11(
 {
 #ifdef DEBUG
   // An Azure DrawTarget needs to be locked when it gets nullptr'ed as this is
   // when it calls EndDraw. This EndDraw should not execute anything so it
   // shouldn't -really- need the lock but the debug layer chokes on this.
   if (mDrawTarget) {
     MOZ_ASSERT(!mIsLocked);
     MOZ_ASSERT(mTexture);
-    MOZ_ASSERT(mDrawTarget->refcount() == 1);
+    MOZ_ASSERT(mDrawTarget->refCount() == 1);
     LockD3DTexture(mTexture.get());
     mDrawTarget = nullptr;
     UnlockD3DTexture(mTexture.get());
   }
 #endif
 }
 
 bool