Index: tests/CodecTest.cpp |
diff --git a/tests/CodecTest.cpp b/tests/CodecTest.cpp |
index bdb5e7792e983c686a3de82a4d4064da76846d73..5ac19d9f7050efccd5ba34f364a851d8c77efd88 100644 |
--- a/tests/CodecTest.cpp |
+++ b/tests/CodecTest.cpp |
@@ -32,7 +32,7 @@ static void md5(const SkBitmap& bm, SkMD5::Digest* digest) { |
SkMD5 md5; |
size_t rowLen = bm.info().bytesPerPixel() * bm.width(); |
for (int y = 0; y < bm.height(); ++y) { |
- md5.update(static_cast<uint8_t*>(bm.getAddr(0, y)), rowLen); |
+ md5.write(bm.getAddr(0, y), rowLen); |
} |
md5.finish(*digest); |
} |