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