mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 719286 - Make SVG glyphs play nice with displaylist code r=roc
This commit is contained in:
parent
02666f50da
commit
2c2aeed21d
@ -197,7 +197,8 @@ nsSVGDisplayContainerFrame::PaintSVG(nsRenderingContext* aContext,
|
||||
const nsIntRect *aDirtyRect)
|
||||
{
|
||||
NS_ASSERTION(!NS_SVGDisplayListPaintingEnabled() ||
|
||||
(mState & NS_STATE_SVG_NONDISPLAY_CHILD),
|
||||
(mState & NS_STATE_SVG_NONDISPLAY_CHILD) ||
|
||||
PresContext()->IsGlyph(),
|
||||
"If display lists are enabled, only painting of non-display "
|
||||
"SVG should take this code path");
|
||||
|
||||
|
@ -1136,7 +1136,8 @@ nsSVGUtils::PaintFrameWithEffects(nsRenderingContext *aContext,
|
||||
nsIFrame *aFrame)
|
||||
{
|
||||
NS_ASSERTION(!NS_SVGDisplayListPaintingEnabled() ||
|
||||
(aFrame->GetStateBits() & NS_STATE_SVG_NONDISPLAY_CHILD),
|
||||
(aFrame->GetStateBits() & NS_STATE_SVG_NONDISPLAY_CHILD) ||
|
||||
aFrame->PresContext()->IsGlyph(),
|
||||
"If display lists are enabled, only painting of non-display "
|
||||
"SVG should take this code path");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user