Index: third_party/WebKit/Source/wtf/text/CString.h |
diff --git a/third_party/WebKit/Source/wtf/text/CString.h b/third_party/WebKit/Source/wtf/text/CString.h |
index c8db1ad760e678b1e9126dbc5c64b27a629da967..aeebe0f66e3065e018071bb021782e9780f3f021 100644 |
--- a/third_party/WebKit/Source/wtf/text/CString.h |
+++ b/third_party/WebKit/Source/wtf/text/CString.h |
@@ -76,7 +76,7 @@ class WTF_EXPORT CString { |
// Construct a string referencing an existing buffer. |
CString(CStringImpl* buffer) : m_buffer(buffer) {} |
- CString(PassRefPtr<CStringImpl> buffer) : m_buffer(buffer) {} |
+ CString(PassRefPtr<CStringImpl> buffer) : m_buffer(std::move(buffer)) {} |
static CString createUninitialized(size_t length, char*& data) { |
return CStringImpl::createUninitialized(length, data); |