mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Handle failed SendPCompositable. (bug 1313770 part 4, r=mattwoodrow)
--HG-- extra : rebase_source : 15bbe1c0bd61f3f8698ab296fc52d676e758ea38
This commit is contained in:
parent
a5058127f9
commit
4ad2f45f29
@ -775,7 +775,9 @@ ShadowLayerForwarder::Connect(CompositableClient* aCompositable,
|
||||
}
|
||||
PCompositableChild* actor =
|
||||
mShadowManager->SendPCompositableConstructor(aCompositable->GetTextureInfo());
|
||||
MOZ_ASSERT(actor);
|
||||
if (!actor) {
|
||||
return;
|
||||
}
|
||||
aCompositable->InitIPDLActor(actor);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user