From da36423743fd03aae02529f45974f3fb50361fc5 Mon Sep 17 00:00:00 2001 From: Taras Glek Date: Thu, 25 Sep 2008 18:44:05 -0700 Subject: [PATCH] s/if NS_FAILED(rv)/if(NS_FAILED(rv)/ sr=roc --- content/canvas/src/nsCanvasRenderingContext2D.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/canvas/src/nsCanvasRenderingContext2D.cpp b/content/canvas/src/nsCanvasRenderingContext2D.cpp index 74328714e9a..f263d3505b2 100644 --- a/content/canvas/src/nsCanvasRenderingContext2D.cpp +++ b/content/canvas/src/nsCanvasRenderingContext2D.cpp @@ -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);