commit | 1e9030472e59befbe8faaf42fd166300534d97d3 | [log] [tgz] |
---|---|---|
author | halcanary <halcanary@google.com> | Mon Apr 25 10:29:36 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Mon Apr 25 10:29:36 2016 -0700 |
tree | c51a0cde7f6a78b6f4e040f8b61c5e24415fac6d | |
parent | ac6c75056f1e8e5a5d7c3c4b64df4113368d9c31 [diff] [blame] |
SkMD5: .update() -> .write() Review URL: https://codereview.chromium.org/1913173003
diff --git a/tests/CodecTest.cpp b/tests/CodecTest.cpp index bdb5e77..5ac19d9 100644 --- a/tests/CodecTest.cpp +++ b/tests/CodecTest.cpp
@@ -32,7 +32,7 @@ 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); }