| Index: third_party/WebKit/Source/wtf/typed_arrays/Int8Array.h
|
| diff --git a/third_party/WebKit/Source/wtf/typed_arrays/Int8Array.h b/third_party/WebKit/Source/wtf/typed_arrays/Int8Array.h
|
| index 05bc56516c9f8ab5f4aedd18d4f1edb37d390c5e..755a0deca2584a5d156939a2e91354406a89ab22 100644
|
| --- a/third_party/WebKit/Source/wtf/typed_arrays/Int8Array.h
|
| +++ b/third_party/WebKit/Source/wtf/typed_arrays/Int8Array.h
|
| @@ -65,11 +65,11 @@ PassRefPtr<Int8Array> Int8Array::create(const signed char* array, unsigned lengt
|
|
|
| PassRefPtr<Int8Array> Int8Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length)
|
| {
|
| - return TypedArrayBase<signed char>::create<Int8Array>(buffer, byteOffset, length);
|
| + return TypedArrayBase<signed char>::create<Int8Array>(std::move(buffer), byteOffset, length);
|
| }
|
|
|
| Int8Array::Int8Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length)
|
| - : IntegralTypedArrayBase<signed char>(buffer, byteOffset, length)
|
| + : IntegralTypedArrayBase<signed char>(std::move(buffer), byteOffset, length)
|
| {
|
| }
|
|
|
|
|