Bug 578500: Clear mTarget at the end of a transaction. r=roc

This commit is contained in:
Bas Schouten 2010-07-14 00:19:43 +02:00
parent af1a1cc748
commit 42feb308be

View File

@ -246,6 +246,8 @@ LayerManagerD3D9::EndTransaction(DrawThebesLayerCallback aCallback,
/* Clean this out for sanity */
mCurrentCallbackInfo.Callback = NULL;
mCurrentCallbackInfo.CallbackData = NULL;
// Clear mTarget, next transaction could have no target
mTarget = NULL;
}
void