| Index: third_party/WebKit/Source/wtf/Vector.h
|
| diff --git a/third_party/WebKit/Source/wtf/Vector.h b/third_party/WebKit/Source/wtf/Vector.h
|
| index 851d75a3e4397da288beb4b54be1f209677888c5..eb1ff8a1219f99819254ba31626848756b93d8e6 100644
|
| --- a/third_party/WebKit/Source/wtf/Vector.h
|
| +++ b/third_party/WebKit/Source/wtf/Vector.h
|
| @@ -173,13 +173,15 @@ struct VectorMover<true, T> {
|
| STATIC_ONLY(VectorMover);
|
| static void move(const T* src, const T* srcEnd, T* dst) {
|
| if (LIKELY(dst && src))
|
| - memcpy(dst, src, reinterpret_cast<const char*>(srcEnd) -
|
| - reinterpret_cast<const char*>(src));
|
| + memcpy(dst, src,
|
| + reinterpret_cast<const char*>(srcEnd) -
|
| + reinterpret_cast<const char*>(src));
|
| }
|
| static void moveOverlapping(const T* src, const T* srcEnd, T* dst) {
|
| if (LIKELY(dst && src))
|
| - memmove(dst, src, reinterpret_cast<const char*>(srcEnd) -
|
| - reinterpret_cast<const char*>(src));
|
| + memmove(dst, src,
|
| + reinterpret_cast<const char*>(srcEnd) -
|
| + reinterpret_cast<const char*>(src));
|
| }
|
| static void swap(T* src, T* srcEnd, T* dst) {
|
| std::swap_ranges(reinterpret_cast<char*>(src),
|
| @@ -209,8 +211,9 @@ struct VectorCopier<true, T> {
|
| STATIC_ONLY(VectorCopier);
|
| static void uninitializedCopy(const T* src, const T* srcEnd, T* dst) {
|
| if (LIKELY(dst && src))
|
| - memcpy(dst, src, reinterpret_cast<const char*>(srcEnd) -
|
| - reinterpret_cast<const char*>(src));
|
| + memcpy(dst, src,
|
| + reinterpret_cast<const char*>(srcEnd) -
|
| + reinterpret_cast<const char*>(src));
|
| }
|
| template <typename U>
|
| static void uninitializedCopy(const U* src, const U* srcEnd, T* dst) {
|
|
|