Index: third_party/WebKit/Source/wtf/text/WTFString.h |
diff --git a/third_party/WebKit/Source/wtf/text/WTFString.h b/third_party/WebKit/Source/wtf/text/WTFString.h |
index dd517e4a369d0d03aa5a48315c5d83326481c403..a071bf21580a33f5ae24f17a44e735c8ae194af1 100644 |
--- a/third_party/WebKit/Source/wtf/text/WTFString.h |
+++ b/third_party/WebKit/Source/wtf/text/WTFString.h |
@@ -97,7 +97,7 @@ class WTF_EXPORT String { |
// Construct a string referencing an existing StringImpl. |
String(StringImpl* impl) : m_impl(impl) {} |
- String(PassRefPtr<StringImpl> impl) : m_impl(impl) {} |
+ String(PassRefPtr<StringImpl> impl) : m_impl(std::move(impl)) {} |
void swap(String& o) { m_impl.swap(o.m_impl); } |