Bug 596769 - ShadowLayers not expecting Layer create/destruction during transaction. r=jones.chris.g a=approval2.0

This commit is contained in:
Oleg Romashin
2010-09-15 21:49:31 -07:00
parent 93f5e52b0b
commit 0c630c604c

View File

@@ -2062,6 +2062,7 @@ MaybeCreateShadowFor(BasicShadowableLayer* aLayer,
aLayer->SetShadow(shadow);
(aMgr->*aMethod)(aLayer);
aMgr->Hold(aLayer->AsLayer());
}
#define MAYBE_CREATE_SHADOW(_type) \
MaybeCreateShadowFor(layer, this, \