Index: third_party/WebKit/Source/wtf/typed_arrays/Int16Array.h |
diff --git a/third_party/WebKit/Source/wtf/typed_arrays/Int16Array.h b/third_party/WebKit/Source/wtf/typed_arrays/Int16Array.h |
index 925f1a0075d9b407270caa53a405d7d19cce9991..569c9f3f9b4fee783f6195b5c3d238b6223dad5a 100644 |
--- a/third_party/WebKit/Source/wtf/typed_arrays/Int16Array.h |
+++ b/third_party/WebKit/Source/wtf/typed_arrays/Int16Array.h |
@@ -64,11 +64,11 @@ PassRefPtr<Int16Array> Int16Array::create(const short* array, unsigned length) |
PassRefPtr<Int16Array> Int16Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) |
{ |
- return TypedArrayBase<short>::create<Int16Array>(buffer, byteOffset, length); |
+ return TypedArrayBase<short>::create<Int16Array>(std::move(buffer), byteOffset, length); |
} |
Int16Array::Int16Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) |
- : IntegralTypedArrayBase<short>(buffer, byteOffset, length) |
+ : IntegralTypedArrayBase<short>(std::move(buffer), byteOffset, length) |
{ |
} |