| Index: Source/wtf/PassOwnPtr.h
|
| diff --git a/Source/wtf/PassOwnPtr.h b/Source/wtf/PassOwnPtr.h
|
| index c379f2fd3d6777b6be6f0202f08953e2e1faaf65..6d2f81ae2ee49d620aa8580d1bbf63cd243ac95c 100644
|
| --- a/Source/wtf/PassOwnPtr.h
|
| +++ b/Source/wtf/PassOwnPtr.h
|
| @@ -33,8 +33,6 @@
|
|
|
| namespace WTF {
|
|
|
| - // Unlike most of our smart pointers, PassOwnPtr can take either the pointer type or the pointed-to type.
|
| -
|
| template<typename T> class OwnPtr;
|
| template<typename T> class PassOwnPtr;
|
| template<typename T> PassOwnPtr<T> adoptPtr(T*);
|
| @@ -42,7 +40,7 @@ namespace WTF {
|
| template<typename T> class PassOwnPtr {
|
| WTF_DISALLOW_CONSTRUCTION_FROM_ZERO(PassOwnPtr);
|
| public:
|
| - typedef typename RemovePointer<T>::Type ValueType;
|
| + typedef T ValueType;
|
| typedef ValueType* PtrType;
|
|
|
| PassOwnPtr() : m_ptr(0) { }
|
|
|