mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 20:35:50 +00:00
Bug 725918 - Part 4: Use forget(); r=dholbert
This commit is contained in:
parent
0c813df23c
commit
1e0659d065
@ -918,8 +918,7 @@ nsSVGGlyphFrame::SetupCairoState(gfxContext *aContext, gfxPattern **aStrokePatte
|
||||
NS_GET_A(color) / 255.0 * opacity));
|
||||
}
|
||||
|
||||
*aStrokePattern = nsnull;
|
||||
strokePattern.swap(*aStrokePattern);
|
||||
strokePattern.forget(aStrokePattern);
|
||||
}
|
||||
|
||||
if (SetupCairoFill(aContext)) {
|
||||
|
Loading…
Reference in New Issue
Block a user