Bug 946031. Fix a warning in DeprecatedContentClientSingleBuffered::SyncFrontBufferToBackBuffer. r=mattwoodrow

This commit is contained in:
Nicholas Cameron 2013-12-04 17:33:16 +13:00
parent 426976106b
commit 7579d5e3ae

View File

@ -986,7 +986,8 @@ DeprecatedContentClientSingleBuffered::SyncFrontBufferToBackBuffer()
backBuffer = mDeprecatedTextureClientOnWhite->LockDrawTarget();
}
if (!backBuffer) {
NS_WARNING("Could not lock texture client (on white)");
NS_WARN_IF_FALSE(!mDeprecatedTextureClientOnWhite,
"Could not lock texture client (on white)");
return;
}