Index: src/gpu/GrShape.cpp |
diff --git a/src/gpu/GrShape.cpp b/src/gpu/GrShape.cpp |
index bb9c186fe396fc137d92dcd1ac659a9e313e62f2..3b49f6ae7fa3dc91dc19fd4b9cdd29e5c0b6c627 100644 |
--- a/src/gpu/GrShape.cpp |
+++ b/src/gpu/GrShape.cpp |
@@ -32,8 +32,8 @@ GrShape& GrShape::operator=(const GrShape& that) { |
break; |
} |
fInheritedKey.reset(that.fInheritedKey.count()); |
- memcpy(fInheritedKey.get(), that.fInheritedKey.get(), |
- sizeof(uint32_t) * fInheritedKey.count()); |
+ sk_careful_memcpy(fInheritedKey.get(), that.fInheritedKey.get(), |
+ sizeof(uint32_t) * fInheritedKey.count()); |
return *this; |
} |