aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/effects/SkGroupShape.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/effects/SkGroupShape.cpp')
-rw-r--r--src/effects/SkGroupShape.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/effects/SkGroupShape.cpp b/src/effects/SkGroupShape.cpp
index 8ec87c4f29..0468d5b087 100644
--- a/src/effects/SkGroupShape.cpp
+++ b/src/effects/SkGroupShape.cpp
@@ -92,7 +92,7 @@ void SkGroupShape::flatten(SkFlattenableWriteBuffer& buffer) const {
const Rec* stop = fList.end();
while (rec < stop) {
buffer.writeFlattenable(rec->fShape);
- buffer.writeBool(rec->fMatrixRef);
+ buffer.writeBool(NULL != rec->fMatrixRef);
if (rec->fMatrixRef) {
buffer.writeMatrix(*rec->fMatrixRef);
}