Index: src/utils/SkSHA1.h |
diff --git a/src/utils/SkSHA1.h b/src/utils/SkSHA1.h |
index cf2cb8c6796bbc2052a39593555c4efa8915c44f..df8b9bf1b68ca58c19c27748b0faa0b14f62ed73 100644 |
--- a/src/utils/SkSHA1.h |
+++ b/src/utils/SkSHA1.h |
@@ -29,6 +29,8 @@ public: |
return true; |
} |
+ virtual size_t bytesWritten() const SK_OVERRIDE { return SkToSizeT(this->byteCount); } |
+ |
/** Processes input, adding it to the digest. Calling this after finish is undefined. */ |
void update(const uint8_t* input, size_t length); |