Bug 617863: Remove a pseudo-assertion that doesn't hold for plugin ImageLayers. r=roc a=a

This commit is contained in:
Chris Jones
2011-01-04 10:40:54 -06:00
parent e8f52b171d
commit 007280b9b4

View File

@@ -1820,8 +1820,6 @@ BasicShadowableImageLayer::Paint(gfxContext* aContext,
return;
if (oldSize != mSize) {
NS_ASSERTION(oldSize == gfxIntSize(-1, -1), "video changed size?");
if (mBackSurface) {
BasicManager()->ShadowLayerForwarder::DestroySharedSurface(mBackSurface);
mBackSurface = nsnull;