Index: samplecode/SampleBitmapRect.cpp |
diff --git a/samplecode/SampleBitmapRect.cpp b/samplecode/SampleBitmapRect.cpp |
index c69fcf4ceb537bcf800ed2bdf265088c7e8929a7..b39db4c19208d54325c1765d167bdf7812ac82fb 100644 |
--- a/samplecode/SampleBitmapRect.cpp |
+++ b/samplecode/SampleBitmapRect.cpp |
@@ -131,7 +131,7 @@ protected: |
for (int i = 0; i < 2; ++i) { |
paint.setFilterQuality(1 == i ? kLow_SkFilterQuality : kNone_SkFilterQuality); |
- canvas->drawBitmapRect(bitmap, &srcR, fDstR[i], &paint, |
+ canvas->drawBitmapRect(bitmap, srcR, fDstR[i], &paint, |
SkCanvas::kStrict_SrcRectConstraint); |
canvas->drawRect(fDstR[i], paint); |
} |
@@ -226,7 +226,7 @@ protected: |
for (int i = 0; i < 2; ++i) { |
paint.setFilterQuality(1 == i ? kLow_SkFilterQuality : kNone_SkFilterQuality); |
- canvas->drawBitmapRect(fBitmap, &fSrcR, fDstR[i], &paint, |
+ canvas->drawBitmapRect(fBitmap, fSrcR, fDstR[i], &paint, |
SkCanvas::kStrict_SrcRectConstraint); |
canvas->drawRect(fDstR[i], paint); |
} |