This CL is motivated by the desire to make the skpinfo tool work a bit better. The main concern is that the assumptions made w.r.t. written bytes may not be valid for all SkWStream sub-classes.
R=bungeman@gmail.com, bungeman@google.com, reed@google.com, mtklein@google.com
Author: robertphillips@google.com
Review URL: https://codereview.chromium.org/182733008
git-svn-id: http://skia.googlecode.com/svn/trunk@13673 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/utils/SkMD5.h b/src/utils/SkMD5.h
index 6b4fc53..0148641 100644
--- a/src/utils/SkMD5.h
+++ b/src/utils/SkMD5.h
@@ -25,7 +25,7 @@
* Note that this treats the buffer as a series of uint8_t values.
*/
virtual bool write(const void* buffer, size_t size) SK_OVERRIDE {
- update(reinterpret_cast<const uint8_t*>(buffer), size);
+ this->update(reinterpret_cast<const uint8_t*>(buffer), size);
return true;
}