Index: samplecode/SampleBitmapRect.cpp |
diff --git a/samplecode/SampleBitmapRect.cpp b/samplecode/SampleBitmapRect.cpp |
index 123bfb8b127c09d9a11774b67c40a9b43dda5cb1..b6e629c9f7226a55f352037f09514aba2e3acd6e 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->drawBitmapRectToRect(bitmap, &srcR, fDstR[i], &paint); |
+ canvas->drawBitmapRect(bitmap, &srcR, fDstR[i], &paint); |
canvas->drawRect(fDstR[i], paint); |
} |
} |
@@ -225,7 +225,7 @@ protected: |
for (int i = 0; i < 2; ++i) { |
paint.setFilterQuality(1 == i ? kLow_SkFilterQuality : kNone_SkFilterQuality); |
- canvas->drawBitmapRectToRect(fBitmap, &fSrcR, fDstR[i], &paint); |
+ canvas->drawBitmapRect(fBitmap, &fSrcR, fDstR[i], &paint); |
canvas->drawRect(fDstR[i], paint); |
} |
} |