aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench
diff options
context:
space:
mode:
authorGravatar halcanary <halcanary@google.com>2016-04-25 10:29:36 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-04-25 10:29:36 -0700
commit1e9030472e59befbe8faaf42fd166300534d97d3 (patch)
treec51a0cde7f6a78b6f4e040f8b61c5e24415fac6d /bench
parentac6c75056f1e8e5a5d7c3c4b64df4113368d9c31 (diff)
SkMD5: .update() -> .write()
Diffstat (limited to 'bench')
-rw-r--r--bench/ChecksumBench.cpp2
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);
}