mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 482379: Wrap an SVG-related line with "#ifdef MOZ_SVG", to fix build failure when using --disable-svg. r+sr=roc
This commit is contained in:
parent
1e935ef8ae
commit
22e1542fc2
@ -3188,8 +3188,11 @@ nsLayoutUtils::InitTextRunContainerForPrinting(nsIContent* aContent,
|
||||
nsIFrame* aFrame,
|
||||
nsFrameState aBits)
|
||||
{
|
||||
NS_PRECONDITION(aFrame->GetType() == nsGkAtoms::textFrame ||
|
||||
aFrame->GetType() == nsGkAtoms::svgGlyphFrame,
|
||||
NS_PRECONDITION(aFrame->GetType() == nsGkAtoms::textFrame
|
||||
#ifdef MOZ_SVG
|
||||
|| aFrame->GetType() == nsGkAtoms::svgGlyphFrame
|
||||
#endif // MOZ_SVG
|
||||
,
|
||||
"Wrong frame type!");
|
||||
|
||||
nsPresContext* presContext = aFrame->PresContext();
|
||||
|
Loading…
Reference in New Issue
Block a user