Index: src/utils/SkDeferredCanvas.cpp |
diff --git a/src/utils/SkDeferredCanvas.cpp b/src/utils/SkDeferredCanvas.cpp |
index 14220209cc952717a493662b1a4e7f14a64f2870..c8a37c36b7805947c5f4527ffa8f159a072f0990 100644 |
--- a/src/utils/SkDeferredCanvas.cpp |
+++ b/src/utils/SkDeferredCanvas.cpp |
@@ -200,7 +200,7 @@ void SkDeferredCanvas::flush_check(SkRect* bounds, const SkPaint* paint, unsigne |
if (canScale) { |
SkMatrix m; |
rec.getConcat(&m); |
- m.mapRectScaleTranslate(bounds, *bounds); |
+ *bounds = m.mapRectScaleTranslate(*bounds); |
} else { |
goto STOP; |
} |