Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(217)

Unified Diff: src/core/SkMD5.cpp

Issue 1913173003: SkMD5: .update() -> .write() (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2016-04-22 (Friday) 16:17:21 EDT Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/core/SkMD5.h ('k') | tests/CodecTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkMD5.cpp
diff --git a/src/core/SkMD5.cpp b/src/core/SkMD5.cpp
index 5c86522a54306116517d40c40f8b85ef2f74fb8f..c0c3c31fb759ae91d8f176283f2261d8b4bd0189 100644
--- a/src/core/SkMD5.cpp
+++ b/src/core/SkMD5.cpp
@@ -80,10 +80,10 @@ void SkMD5::finish(Digest& digest) {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
};
- this->update(PADDING, paddingLength);
+ (void)this->write(PADDING, paddingLength);
// Append length (length before padding, will cause final update).
- this->update(bits, 8);
+ (void)this->write(bits, 8);
tomhudson 2016/04/22 20:49:55 Having to cast void return. :(
// Write out digest.
encode(digest.data, this->state);
« no previous file with comments | « src/core/SkMD5.h ('k') | tests/CodecTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698