diff options
author | halcanary <halcanary@google.com> | 2016-04-25 10:29:36 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-25 10:29:36 -0700 |
commit | 1e9030472e59befbe8faaf42fd166300534d97d3 (patch) | |
tree | c51a0cde7f6a78b6f4e040f8b61c5e24415fac6d /bench | |
parent | ac6c75056f1e8e5a5d7c3c4b64df4113368d9c31 (diff) |
SkMD5: .update() -> .write()
Review URL: https://codereview.chromium.org/1913173003
Diffstat (limited to 'bench')
-rw-r--r-- | bench/ChecksumBench.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/ChecksumBench.cpp b/bench/ChecksumBench.cpp index cba9572aa3..4c2ac1a396 100644 --- a/bench/ChecksumBench.cpp +++ b/bench/ChecksumBench.cpp @@ -51,7 +51,7 @@ protected: case kMD5_ChecksumType: { for (int i = 0; i < loops; i++) { SkMD5 md5; - md5.update(reinterpret_cast<uint8_t*>(fData), sizeof(fData)); + md5.write(fData, sizeof(fData)); SkMD5::Digest digest; md5.finish(digest); } |