| Index: third_party/WebKit/Source/core/dom/DOMTypedArray.h
|
| diff --git a/third_party/WebKit/Source/core/dom/DOMTypedArray.h b/third_party/WebKit/Source/core/dom/DOMTypedArray.h
|
| index 5c32f9fb8996ad04fe240ed76e31985f92959b3c..8350c988e5e3d0d47ef2476bcc133f69f95f9484 100644
|
| --- a/third_party/WebKit/Source/core/dom/DOMTypedArray.h
|
| +++ b/third_party/WebKit/Source/core/dom/DOMTypedArray.h
|
| @@ -31,7 +31,7 @@ public:
|
|
|
| static ThisType* create(PassRefPtr<WTFTypedArray> bufferView)
|
| {
|
| - return new ThisType(bufferView);
|
| + return new ThisType(std::move(bufferView));
|
| }
|
| static ThisType* create(unsigned length)
|
| {
|
| @@ -43,7 +43,7 @@ public:
|
| }
|
| static ThisType* create(PassRefPtr<WTF::ArrayBuffer> buffer, unsigned byteOffset, unsigned length)
|
| {
|
| - return create(WTFTypedArray::create(buffer, byteOffset, length));
|
| + return create(WTFTypedArray::create(std::move(buffer), byteOffset, length));
|
| }
|
| static ThisType* create(DOMArrayBufferBase *buffer, unsigned byteOffset, unsigned length)
|
| {
|
|
|