Index: src/gpu/GrStyle.h |
diff --git a/src/gpu/GrStyle.h b/src/gpu/GrStyle.h |
index 3ed4448441c906dfc364bf13a29567426ff4a686..d63df3229085773a056f79abaef18fc446c8411f 100644 |
--- a/src/gpu/GrStyle.h |
+++ b/src/gpu/GrStyle.h |
@@ -159,8 +159,8 @@ private: |
fType = that.fType; |
fPhase = that.fPhase; |
fIntervals.reset(that.fIntervals.count()); |
- memcpy(fIntervals.get(), that.fIntervals.get(), |
- sizeof(SkScalar) * that.fIntervals.count()); |
+ sk_careful_memcpy(fIntervals.get(), that.fIntervals.get(), |
+ sizeof(SkScalar) * that.fIntervals.count()); |
return *this; |
} |
void reset() { |