mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
s/if NS_FAILED(rv)/if(NS_FAILED(rv)/ sr=roc
This commit is contained in:
parent
6a45b282aa
commit
da36423743
@ -2456,13 +2456,13 @@ nsCanvasRenderingContext2D::DrawOrMeasureText(const nsAString& aRawText,
|
||||
DirtyAllStyles();
|
||||
}
|
||||
|
||||
if NS_FAILED(rv)
|
||||
if (NS_FAILED(rv))
|
||||
return rv;
|
||||
|
||||
if (aOp == nsCanvasRenderingContext2D::TEXT_DRAW_OPERATION_STROKE) {
|
||||
// DrawPath takes care of all shadows and composite oddities
|
||||
rv = DrawPath(STYLE_STROKE);
|
||||
if NS_FAILED(rv)
|
||||
if (NS_FAILED(rv))
|
||||
return rv;
|
||||
} else if (doUseIntermediateSurface)
|
||||
mThebes->Paint(CurrentState().StyleIsColor(STYLE_FILL) ? 1.0 : CurrentState().globalAlpha);
|
||||
|
Loading…
Reference in New Issue
Block a user