Bug 776337 - "ASSERTION: Should not use nsSVGIntegrationUtils on this SVG frame". r=longsonr.

--HG--
extra : rebase_source : b72f0311607b5d4ae0fa28939a53728566b4bfd9
This commit is contained in:
Jonathan Watt 2012-07-31 00:20:06 +01:00
parent 8c8cf1fed3
commit d995281e36

View File

@ -383,8 +383,7 @@ nsSVGIntegrationUtils::PaintFramesWithEffects(nsRenderingContext* aCtx,
LayerManager *aLayerManager)
{
#ifdef DEBUG
nsISVGChildFrame *svgChildFrame = do_QueryFrame(aFrame);
NS_ASSERTION(!svgChildFrame ||
NS_ASSERTION(!(aFrame->GetStateBits() & NS_FRAME_SVG_LAYOUT) ||
(NS_SVGDisplayListPaintingEnabled() &&
!(aFrame->GetStateBits() & NS_STATE_SVG_NONDISPLAY_CHILD)),
"Should not use nsSVGIntegrationUtils on this SVG frame");