Index: src/core/SkDevice.cpp |
diff --git a/src/core/SkDevice.cpp b/src/core/SkDevice.cpp |
index 6922e0d7ce04e3e9d724728d81b02c0e4f207dce..dd55aad0ce42379d502fa5f6b6e573114ad983d8 100644 |
--- a/src/core/SkDevice.cpp |
+++ b/src/core/SkDevice.cpp |
@@ -159,7 +159,7 @@ void SkBaseDevice::drawImageRect(const SkDraw& draw, const SkImage* image, const |
// Default impl : turns everything into raster bitmap |
SkBitmap bm; |
if (as_IB(image)->getROPixels(&bm)) { |
- this->drawBitmapRect(draw, bm, src, dst, paint, (SK_VIRTUAL_CONSTRAINT_TYPE)constraint); |
+ this->drawBitmapRect(draw, bm, src, dst, paint, constraint); |
} |
} |
@@ -179,8 +179,7 @@ void SkBaseDevice::drawBitmapNine(const SkDraw& draw, const SkBitmap& bitmap, co |
SkRect srcR, dstR; |
while (iter.next(&srcR, &dstR)) { |
- this->drawBitmapRect(draw, bitmap, &srcR, dstR, paint, |
- (SK_VIRTUAL_CONSTRAINT_TYPE)SkCanvas::kStrict_SrcRectConstraint); |
+ this->drawBitmapRect(draw, bitmap, &srcR, dstR, paint, SkCanvas::kStrict_SrcRectConstraint); |
} |
} |