Index: Source/wtf/PassOwnPtr.h |
diff --git a/Source/wtf/PassOwnPtr.h b/Source/wtf/PassOwnPtr.h |
index 81d674e13005900c4816a5357a5b18b977ea24aa..4afb0e48f2d00a8fe1432129e0f367cc04e9008e 100644 |
--- a/Source/wtf/PassOwnPtr.h |
+++ b/Source/wtf/PassOwnPtr.h |
@@ -40,6 +40,7 @@ namespace WTF { |
template<typename T> PassOwnPtr<T> adoptPtr(T*); |
template<typename T> class PassOwnPtr { |
+ WTF_DISALLOW_CONSTRUCTION_FROM_ZERO(PassOwnPtr); |
public: |
typedef typename RemovePointer<T>::Type ValueType; |
typedef ValueType* PtrType; |