Index: third_party/WebKit/Source/wtf/typed_arrays/TypedArrayBase.h |
diff --git a/third_party/WebKit/Source/wtf/typed_arrays/TypedArrayBase.h b/third_party/WebKit/Source/wtf/typed_arrays/TypedArrayBase.h |
index 43cfd86a907541c338c75e37afbb884580761d58..c42d0444d200f54584c013bdeed93d68f6354e49 100644 |
--- a/third_party/WebKit/Source/wtf/typed_arrays/TypedArrayBase.h |
+++ b/third_party/WebKit/Source/wtf/typed_arrays/TypedArrayBase.h |
@@ -84,7 +84,7 @@ class TypedArrayBase : public ArrayBufferView { |
static PassRefPtr<Subclass> create(PassRefPtr<ArrayBuffer> buffer, |
unsigned byteOffset, |
unsigned length) { |
- RefPtr<ArrayBuffer> buf(buffer); |
+ RefPtr<ArrayBuffer> buf(std::move(buffer)); |
RELEASE_ASSERT(verifySubRange<T>(buf, byteOffset, length)); |
return adoptRef(new Subclass(buf.release(), byteOffset, length)); |
} |