mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 725918 - Part 4: Use forget(); r=dholbert
This commit is contained in:
parent
fda1f0e9b1
commit
e6b6e04b34
@ -918,8 +918,7 @@ nsSVGGlyphFrame::SetupCairoState(gfxContext *aContext, gfxPattern **aStrokePatte
|
|||||||
NS_GET_A(color) / 255.0 * opacity));
|
NS_GET_A(color) / 255.0 * opacity));
|
||||||
}
|
}
|
||||||
|
|
||||||
*aStrokePattern = nsnull;
|
strokePattern.forget(aStrokePattern);
|
||||||
strokePattern.swap(*aStrokePattern);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (SetupCairoFill(aContext)) {
|
if (SetupCairoFill(aContext)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user