Index: include/core/SkTDArray.h |
diff --git a/include/core/SkTDArray.h b/include/core/SkTDArray.h |
index 26c6c7f8956b6cb1cdd80eaad35af7ee774f47bd..b5332a2cc4aa26d3648ed869c81c0063195dcd9b 100644 |
--- a/include/core/SkTDArray.h |
+++ b/include/core/SkTDArray.h |
@@ -45,7 +45,7 @@ public: |
SkTDArray<T> tmp(src.fArray, src.fCount); |
this->swap(tmp); |
} else { |
- memcpy(fArray, src.fArray, sizeof(T) * src.fCount); |
+ sk_careful_memcpy(fArray, src.fArray, sizeof(T) * src.fCount); |
fCount = src.fCount; |
} |
} |