diff --git a/content/canvas/src/nsCanvasRenderingContext2DAzure.cpp b/content/canvas/src/nsCanvasRenderingContext2DAzure.cpp index 8ae9a0dcc74c..3d34cac1f198 100644 --- a/content/canvas/src/nsCanvasRenderingContext2DAzure.cpp +++ b/content/canvas/src/nsCanvasRenderingContext2DAzure.cpp @@ -3110,21 +3110,21 @@ struct NS_STACK_CLASS nsCanvasBidiProcessorAzure : public nsBidiPresUtils::BidiP AdjustedTarget(mCtx)-> FillGlyphs(scaledFont, buffer, CanvasGeneralPattern(). - ForStyle(mCtx, nsCanvasRenderingContext2DAzure::STYLE_FILL, mCtx->mTarget), - DrawOptions(mState->globalAlpha, mCtx->UsedOperation())); + ForStyle(mCtx, nsCanvasRenderingContext2DAzure::STYLE_FILL, mCtx->mTarget), + DrawOptions(mState->globalAlpha, mCtx->UsedOperation())); } else if (mOp == nsCanvasRenderingContext2DAzure::TEXT_DRAW_OPERATION_STROKE) { RefPtr path = scaledFont->GetPathForGlyphs(buffer, mCtx->mTarget); const ContextState& state = *mState; AdjustedTarget(mCtx)-> Stroke(path, CanvasGeneralPattern(). - ForStyle(mCtx, nsCanvasRenderingContext2DAzure::STYLE_STROKE, mCtx->mTarget), - StrokeOptions(state.lineWidth, state.lineJoin, - state.lineCap, state.miterLimit, - state.dash.Length(), - state.dash.Elements(), - state.dashOffset), - DrawOptions(state.globalAlpha, mCtx->UsedOperation())); + ForStyle(mCtx, nsCanvasRenderingContext2DAzure::STYLE_STROKE, mCtx->mTarget), + StrokeOptions(state.lineWidth, state.lineJoin, + state.lineCap, state.miterLimit, + state.dash.Length(), + state.dash.Elements(), + state.dashOffset), + DrawOptions(state.globalAlpha, mCtx->UsedOperation())); } } diff --git a/gfx/2d/HelpersSkia.h b/gfx/2d/HelpersSkia.h index 38ab0900f113..6e22c5935bda 100644 --- a/gfx/2d/HelpersSkia.h +++ b/gfx/2d/HelpersSkia.h @@ -76,7 +76,7 @@ JoinStyleToSkiaJoin(JoinStyle aJoin) static inline bool StrokeOptionsToPaint(SkPaint& aPaint, const StrokeOptions &aOptions) { - // Skia rendewrs 0 width strokes with a width of 1 (and in black), + // Skia renders 0 width strokes with a width of 1 (and in black), // so we should just skip the draw call entirely. if (!aOptions.mLineWidth) { return false;