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

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

Issue 2867693003: Changed PassRefPtr templated copy constructor to move constructor. (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/wtf/PassRefPtr.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 abdd363dbb770a4e3cd842f4b3ec500961e97e12..d269e16f47b7ae28a62f1a3129103450fba02b29 100644
--- a/third_party/WebKit/Source/core/dom/DOMTypedArray.h
+++ b/third_party/WebKit/Source/core/dom/DOMTypedArray.h
@@ -79,10 +79,10 @@ class CORE_TEMPLATE_CLASS_EXPORT DOMTypedArray final
private:
explicit DOMTypedArray(PassRefPtr<WTFTypedArray> buffer_view)
- : DOMArrayBufferView(buffer_view) {}
+ : DOMArrayBufferView(std::move(buffer_view)) {}
DOMTypedArray(PassRefPtr<WTFTypedArray> buffer_view,
DOMArrayBufferBase* dom_array_buffer)
- : DOMArrayBufferView(buffer_view, dom_array_buffer) {}
+ : DOMArrayBufferView(std::move(buffer_view), dom_array_buffer) {}
};
extern template class CORE_EXTERN_TEMPLATE_EXPORT
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/wtf/PassRefPtr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698