Bug 617863: Remove a pseudo-assertion that doesn't hold for plugin ImageLayers. r=roc a=a
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user