Bug 556487 - drop layer on dead child plugin process. r=roc a=blocking2.0

This commit is contained in:
Oleg Romashin 2010-09-14 12:01:16 -07:00
parent 60103e85b5
commit b655f6f31d

View File

@ -1727,7 +1727,9 @@ nsObjectFrame::BuildLayer(nsDisplayListBuilder* aBuilder,
mInstanceOwner->GetInstance(*getter_AddRefs(pi));
// Give plugin info about layer paint
if (pi) {
pi->NotifyPainted();
if (NS_FAILED(pi->NotifyPainted())) {
return nsnull;
}
}
if (!layer)