Index: src/core/SkValidatingReadBuffer.cpp |
diff --git a/src/core/SkValidatingReadBuffer.cpp b/src/core/SkValidatingReadBuffer.cpp |
index a0e1a4179f2cd18ff431203aa8b1091102a68ec7..323273d131a25d80a84d0aa671aea023f1c9f501 100644 |
--- a/src/core/SkValidatingReadBuffer.cpp |
+++ b/src/core/SkValidatingReadBuffer.cpp |
@@ -11,10 +11,9 @@ |
#include "SkStream.h" |
#include "SkTypeface.h" |
-SkValidatingReadBuffer::SkValidatingReadBuffer(const void* data, size_t size) { |
+SkValidatingReadBuffer::SkValidatingReadBuffer(const void* data, size_t size) : |
+ fError(false) { |
this->setMemory(data, size); |
- fError = false; |
- |
this->setFlags(SkFlattenableReadBuffer::kValidation_Flag); |
} |