Index: src/core/SkPath.cpp |
diff --git a/src/core/SkPath.cpp b/src/core/SkPath.cpp |
index 351629d1252ca2bde200dae76ab48e58c8718033..157235440c111631873b692b72684979a4a70a2b 100644 |
--- a/src/core/SkPath.cpp |
+++ b/src/core/SkPath.cpp |
@@ -583,7 +583,7 @@ int SkPath::getPoints(SkPoint dst[], int max) const { |
SkASSERT(max >= 0); |
SkASSERT(!max || dst); |
int count = SkMin32(max, fPathRef->countPoints()); |
- memcpy(dst, fPathRef->points(), count * sizeof(SkPoint)); |
+ sk_careful_memcpy(dst, fPathRef->points(), count * sizeof(SkPoint)); |
return fPathRef->countPoints(); |
} |