Index: src/pipe/SkGPipeWrite.cpp |
diff --git a/src/pipe/SkGPipeWrite.cpp b/src/pipe/SkGPipeWrite.cpp |
index be687f7d313932cacc2f8b59f920bc232370e8d1..db6c2af4dc5f4fb1a6341eef9a4c669ce6c05cb1 100644 |
--- a/src/pipe/SkGPipeWrite.cpp |
+++ b/src/pipe/SkGPipeWrite.cpp |
@@ -1136,9 +1136,9 @@ void SkGPipeCanvas::writePaint(const SkPaint& paint) { |
*ptr++ = paint.getColor(); |
base.setColor(paint.getColor()); |
} |
- if (base.getFilterLevel() != paint.getFilterLevel()) { |
- *ptr++ = PaintOp_packOpData(kFilterLevel_PaintOp, paint.getFilterLevel()); |
- base.setFilterLevel(paint.getFilterLevel()); |
+ if (base.getFilterQuality() != paint.getFilterQuality()) { |
+ *ptr++ = PaintOp_packOpData(kFilterLevel_PaintOp, paint.getFilterQuality()); |
+ base.setFilterQuality(paint.getFilterQuality()); |
} |
if (base.getStyle() != paint.getStyle()) { |
*ptr++ = PaintOp_packOpData(kStyle_PaintOp, paint.getStyle()); |