Index: src/effects/SkRectShaderImageFilter.cpp |
diff --git a/src/effects/SkRectShaderImageFilter.cpp b/src/effects/SkRectShaderImageFilter.cpp |
index 5c34547cb3bce57c7e65a3b862cc14599e1f94e8..f55df2c5774832ce227938b5cbf083c81f32bd42 100644 |
--- a/src/effects/SkRectShaderImageFilter.cpp |
+++ b/src/effects/SkRectShaderImageFilter.cpp |
@@ -74,7 +74,7 @@ bool SkRectShaderImageFilter::onFilterImage(Proxy* proxy, |
SkRect rect = SkRect::MakeWH(SkIntToScalar(bounds.width()), SkIntToScalar(bounds.height())); |
canvas.drawRect(rect, paint); |
*result = device.get()->accessBitmap(false); |
- offset->fX += bounds.fLeft; |
- offset->fY += bounds.fTop; |
+ offset->fX = bounds.fLeft; |
+ offset->fY = bounds.fTop; |
return true; |
} |