From 82831ccc12a4980746a4b98d6d6f647db2f096c3 Mon Sep 17 00:00:00 2001 From: Jonathan Watt Date: Wed, 12 Nov 2014 02:56:12 +0000 Subject: [PATCH] Bug 1097438 - Restore the use of AntialiasMode::NONE in nsCSSBorderRenderer::DrawBorders(). r=roc --- layout/base/nsCSSRenderingBorders.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout/base/nsCSSRenderingBorders.cpp b/layout/base/nsCSSRenderingBorders.cpp index 21687a90dc52..f99c19204c0d 100644 --- a/layout/base/nsCSSRenderingBorders.cpp +++ b/layout/base/nsCSSRenderingBorders.cpp @@ -1444,7 +1444,7 @@ nsCSSBorderRenderer::DrawBorders() strokeOptions.mDashOffset = 0.5f; DrawOptions drawOptions; drawOptions.mAntialiasMode = AntialiasMode::NONE; - mDrawTarget->StrokeRect(rect, color, strokeOptions); + mDrawTarget->StrokeRect(rect, color, strokeOptions, drawOptions); return; }