Index: samplecode/SampleRectanizer.cpp |
diff --git a/samplecode/SampleRectanizer.cpp b/samplecode/SampleRectanizer.cpp |
index 55e70a29d2527fe92ab857e30c8fb9f14e057c5d..4ff28b2a6c91b10b606db58008a45d538dbb2ef9 100644 |
--- a/samplecode/SampleRectanizer.cpp |
+++ b/samplecode/SampleRectanizer.cpp |
@@ -100,7 +100,7 @@ protected: |
long totArea = 0; |
for (int i = 0; i < fCurRandRect; ++i) { |
- r = SkRect::MakeXYWH(SkIntToScalar(fRectLocations[i].fX), |
+ r = SkRect::MakeXYWH(SkIntToScalar(fRectLocations[i].fX), |
SkIntToScalar(fRectLocations[i].fY), |
SkIntToScalar((*fCurRects)[i].fWidth), |
SkIntToScalar((*fCurRects)[i].fHeight)); |