Index: src/core/SkBlitMask_D32.cpp |
diff --git a/src/core/SkBlitMask_D32.cpp b/src/core/SkBlitMask_D32.cpp |
index 210810801a5c2081cc80243ea11e7fab4950b385..594a274d42aec6189d5dfdec7da474983f888e7a 100644 |
--- a/src/core/SkBlitMask_D32.cpp |
+++ b/src/core/SkBlitMask_D32.cpp |
@@ -147,13 +147,13 @@ |
return NULL; |
} |
-bool SkBlitMask::BlitColor(const SkPixmap& device, const SkMask& mask, |
+bool SkBlitMask::BlitColor(const SkBitmap& device, const SkMask& mask, |
const SkIRect& clip, SkColor color) { |
ColorProc proc = ColorFactory(device.colorType(), mask.fFormat, color); |
if (proc) { |
int x = clip.fLeft; |
int y = clip.fTop; |
- proc(device.writable_addr32(x, y), device.rowBytes(), mask.getAddr(x, y), |
+ proc(device.getAddr32(x, y), device.rowBytes(), mask.getAddr(x, y), |
mask.fRowBytes, color, clip.width(), clip.height()); |
return true; |
} |