| Index: Source/wtf/RefPtr.h
|
| diff --git a/Source/wtf/RefPtr.h b/Source/wtf/RefPtr.h
|
| index c3933b36d3b03c4fe1e069640d1c5a171dd6b17f..cef5cc8e34f2fa5725abe5f5375dbd54436cab41 100644
|
| --- a/Source/wtf/RefPtr.h
|
| +++ b/Source/wtf/RefPtr.h
|
| @@ -38,10 +38,10 @@ namespace WTF {
|
| ALWAYS_INLINE RefPtr() : m_ptr(0) { }
|
| ALWAYS_INLINE RefPtr(T* ptr) : m_ptr(ptr) { refIfNotNull(ptr); }
|
| ALWAYS_INLINE RefPtr(const RefPtr& o) : m_ptr(o.m_ptr) { refIfNotNull(m_ptr); }
|
| - template<typename U> RefPtr(const RefPtr<U>& o, EnsurePtrConvertibleArgDecl(U, T)) : m_ptr(o.get()) { refIfNotNull(m_ptr); }
|
| + template<typename U> RefPtr(const RefPtr<U>& o, EnsureRefPtrConvertibleArgDecl) : m_ptr(o.get()) { refIfNotNull(m_ptr); }
|
|
|
| // See comments in PassRefPtr.h for an explanation of why this takes a const reference.
|
| - template<typename U> RefPtr(const PassRefPtr<U>&, EnsurePtrConvertibleArgDecl(U, T));
|
| + template<typename U> RefPtr(const PassRefPtr<U>&, EnsureRefPtrConvertibleArgDecl);
|
|
|
| // Hash table deleted values, which are only constructed and never copied or destroyed.
|
| RefPtr(HashTableDeletedValueType) : m_ptr(hashTableDeletedValue()) { }
|
| @@ -80,7 +80,7 @@ namespace WTF {
|
| T* m_ptr;
|
| };
|
|
|
| - template<typename T> template<typename U> inline RefPtr<T>::RefPtr(const PassRefPtr<U>& o, EnsurePtrConvertibleArgDefn(U, T))
|
| + template<typename T> template<typename U> inline RefPtr<T>::RefPtr(const PassRefPtr<U>& o, EnsureRefPtrConvertibleArgDefn)
|
| : m_ptr(o.leakRef())
|
| {
|
| }
|
|
|