Index: src/gpu/SkGpuDevice.cpp |
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp |
index 4a835bb18de72b89172026fca9de278f06bec310..6358181d408818811db4b55b347e153c368011de 100644 |
--- a/src/gpu/SkGpuDevice.cpp |
+++ b/src/gpu/SkGpuDevice.cpp |
@@ -495,11 +495,11 @@ void SkGpuDevice::drawRect(const SkDraw& draw, const SkRect& rect, |
} |
if (!usePath && paint.isAntiAlias() && !draw.fMatrix->rectStaysRect()) { |
-#if defined(SHADER_AA_FILL_RECT) || !defined(IGNORE_ROT_AA_RECT_OPT) |
+#ifdef SHADER_AA_FILL_RECT |
if (doStroke) { |
#endif |
usePath = true; |
-#if defined(SHADER_AA_FILL_RECT) || !defined(IGNORE_ROT_AA_RECT_OPT) |
+#ifdef SHADER_AA_FILL_RECT |
} else { |
usePath = !draw.fMatrix->preservesRightAngles(); |
} |