Index: Source/wtf/OwnPtr.h |
diff --git a/Source/wtf/OwnPtr.h b/Source/wtf/OwnPtr.h |
index 03e214aaf7191103e52fd25b40a65dab8a867867..98daa407dfb7fa7314ef5ef980d7f9ad6a7c889d 100644 |
--- a/Source/wtf/OwnPtr.h |
+++ b/Source/wtf/OwnPtr.h |
@@ -42,6 +42,7 @@ namespace WTF { |
// public so OwnPtr cannot be marked noncopyable. See note below. |
WTF_MAKE_NONCOPYABLE(OwnPtr); |
#endif |
+ WTF_DISALLOW_CONSTRUCTION_FROM_ZERO(OwnPtr); |
public: |
typedef typename RemovePointer<T>::Type ValueType; |
typedef ValueType* PtrType; |