Index: src/core/SkPath.cpp |
diff --git a/src/core/SkPath.cpp b/src/core/SkPath.cpp |
index aa35e74e6cbda90bc91f2a97a2283ace132dc550..006fcf85f24d79bf700d33aad8ea86703d4c57ec 100644 |
--- a/src/core/SkPath.cpp |
+++ b/src/core/SkPath.cpp |
@@ -1680,6 +1680,12 @@ void SkPath::transform(const SkMatrix& matrix, SkPath* dst) const { |
dst->fConvexity = fConvexity; |
} |
+#ifdef SK_BUILD_FOR_ANDROID |
+ if (!matrix.isIdentity()) { |
+ GEN_ID_PTR_INC(dst); |
+ } |
+#endif |
+ |
if (kUnknown_Direction == fDirection) { |
dst->fDirection = kUnknown_Direction; |
} else { |