Index: third_party/WebKit/Source/wtf/typed_arrays/Float64Array.h |
diff --git a/third_party/WebKit/Source/wtf/typed_arrays/Float64Array.h b/third_party/WebKit/Source/wtf/typed_arrays/Float64Array.h |
index 46756c3cc0b10bff77c5c119bc05f74d787330aa..eb23d02c11d7cd6a4a943cb32ab6fb0c6e44c67f 100644 |
--- a/third_party/WebKit/Source/wtf/typed_arrays/Float64Array.h |
+++ b/third_party/WebKit/Source/wtf/typed_arrays/Float64Array.h |
@@ -74,11 +74,11 @@ PassRefPtr<Float64Array> Float64Array::create(const double* array, unsigned leng |
PassRefPtr<Float64Array> Float64Array::create(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) |
{ |
- return TypedArrayBase<double>::create<Float64Array>(buffer, byteOffset, length); |
+ return TypedArrayBase<double>::create<Float64Array>(std::move(buffer), byteOffset, length); |
} |
Float64Array::Float64Array(PassRefPtr<ArrayBuffer> buffer, unsigned byteOffset, unsigned length) |
- : TypedArrayBase<double>(buffer, byteOffset, length) |
+ : TypedArrayBase<double>(std::move(buffer), byteOffset, length) |
{ |
} |