Index: third_party/WebKit/Source/wtf/PassRefPtr.h |
diff --git a/third_party/WebKit/Source/wtf/PassRefPtr.h b/third_party/WebKit/Source/wtf/PassRefPtr.h |
index c5c5165279787edf949c7fe87b0183c12b82011f..d37c829c1885b915fe89b6dd6fb75285602cacf5 100644 |
--- a/third_party/WebKit/Source/wtf/PassRefPtr.h |
+++ b/third_party/WebKit/Source/wtf/PassRefPtr.h |
@@ -69,6 +69,7 @@ public: |
// PassRefPtr temporaries, and we don't have a need to use real const |
// PassRefPtrs anyway. |
PassRefPtr(const PassRefPtr& o) : m_ptr(o.leakRef()) {} |
+ PassRefPtr(PassRefPtr&& o) : m_ptr(o.leakRef()) {} |
template <typename U> PassRefPtr(const PassRefPtr<U>& o, EnsurePtrConvertibleArgDecl(U, T)) : m_ptr(o.leakRef()) {} |
ALWAYS_INLINE ~PassRefPtr() { derefIfNotNull(m_ptr); } |