Index: src/core/SkPictureStateTree.cpp |
diff --git a/src/core/SkPictureStateTree.cpp b/src/core/SkPictureStateTree.cpp |
index 891d04ca21bc4ae7a9b11b679afb7b2434c2fba6..21ae3cb9f09f466036057ab2b1f9c640cea7d962 100644 |
--- a/src/core/SkPictureStateTree.cpp |
+++ b/src/core/SkPictureStateTree.cpp |
@@ -124,7 +124,10 @@ uint32_t SkPictureStateTree::Iterator::draw() { |
Node* targetNode = draw->fNode; |
if (fSave) { |
- fCanvas->save(); |
+ // FIXME: the save below depends on soon-to-be-deprecated |
+ // SaveFlags behavior: it relies on matrix changes persisting |
+ // after restore. |
+ fCanvas->save(SkCanvas::kClip_SaveFlag); |
fSave = false; |
} |