Bug 1182147: Ensure ImageHost does not attempt to call DrawQuad with an effect unsupported by the compositor. r=nical
This commit is contained in:
@@ -312,6 +312,10 @@ ImageHost::Composite(LayerComposite* aLayer,
|
||||
return;
|
||||
}
|
||||
|
||||
if (!GetCompositor()->SupportsEffect(effect->mType)) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (mLastFrameID != img->mFrameID || mLastProducerID != img->mProducerID) {
|
||||
if (mImageContainer) {
|
||||
aLayer->GetLayerManager()->
|
||||
|
||||
Reference in New Issue
Block a user