Bug 967505 - Fix build bustage on a CLOSED TREE.

This commit is contained in:
Nicolas Silva 2014-02-10 11:50:43 +01:00
parent 7e8bc1363a
commit c158e0d657

View File

@ -158,7 +158,7 @@ TextureClientD3D11::~TextureClientD3D11()
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());