Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(573)

Unified Diff: third_party/WebKit/Source/core/dom/DOMDataView.h

Issue 2282413002: Replaced PassRefPtr copies with moves in Source/core. (Closed)
Patch Set: rebased Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/dom/DOMDataView.h
diff --git a/third_party/WebKit/Source/core/dom/DOMDataView.h b/third_party/WebKit/Source/core/dom/DOMDataView.h
index f18d435d7fa2d095f95e762d9a41ecc1263d34f3..a383666234b310ecde01b6ba4daf7b3edb1bf011 100644
--- a/third_party/WebKit/Source/core/dom/DOMDataView.h
+++ b/third_party/WebKit/Source/core/dom/DOMDataView.h
@@ -21,7 +21,7 @@ public:
private:
DOMDataView(PassRefPtr<WTF::ArrayBufferView> dataView, DOMArrayBufferBase* domArrayBuffer)
- : DOMArrayBufferView(dataView, domArrayBuffer) { }
+ : DOMArrayBufferView(std::move(dataView), domArrayBuffer) { }
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/dom/DOMArrayBuffer.h ('k') | third_party/WebKit/Source/core/dom/DOMSharedArrayBuffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698