| Index: third_party/WebKit/Source/wtf/typed_arrays/Int32Array.h
|
| diff --git a/third_party/WebKit/Source/wtf/typed_arrays/Int32Array.h b/third_party/WebKit/Source/wtf/typed_arrays/Int32Array.h
|
| index ad6cb2e71fdaaaf29635b510f6af219f44e59161..36301a6834b4b823718a75093a66596a7fee3d54 100644
|
| --- a/third_party/WebKit/Source/wtf/typed_arrays/Int32Array.h
|
| +++ b/third_party/WebKit/Source/wtf/typed_arrays/Int32Array.h
|
| @@ -63,11 +63,11 @@ PassRefPtr<Int32Array> Int32Array::create(const int* array, unsigned length)
|
|
|
| PassRefPtr<Int32Array> Int32Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length)
|
| {
|
| - return TypedArrayBase<int>::create<Int32Array>(buffer, byteOffset, length);
|
| + return TypedArrayBase<int>::create<Int32Array>(std::move(buffer), byteOffset, length);
|
| }
|
|
|
| Int32Array::Int32Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length)
|
| - : IntegralTypedArrayBase<int>(buffer, byteOffset, length)
|
| + : IntegralTypedArrayBase<int>(std::move(buffer), byteOffset, length)
|
| {
|
| }
|
|
|
|
|