Index: src/core/SkBitmap.cpp |
diff --git a/src/core/SkBitmap.cpp b/src/core/SkBitmap.cpp |
index 7cc7344d2f94432e03465cce78582aceed129e45..7d08184ed88c7142f07474f373092dbf0c1e9f18 100644 |
--- a/src/core/SkBitmap.cpp |
+++ b/src/core/SkBitmap.cpp |
@@ -199,7 +199,7 @@ SkPixelRef* SkBitmap::setPixelRef(SkPixelRef* pr, int dx, int dy) { |
if (pr) { |
const SkImageInfo& info = pr->info(); |
- fPixelRefOrigin.set(SkPin32(dx, 0, info.width()), SkPin32(dy, 0, info.height())); |
+ fPixelRefOrigin.set(SkTPin(dx, 0, info.width()), SkTPin(dy, 0, info.height())); |
} else { |
// ignore dx,dy if there is no pixelref |
fPixelRefOrigin.setZero(); |