Index: Source/wtf/OwnPtrCommon.h |
diff --git a/Source/wtf/OwnPtrCommon.h b/Source/wtf/OwnPtrCommon.h |
index 6aada1f80a0e087531aa6db185f29d6f9d68fb8d..89932d8e0319cad774a3cfa5292c30fd9c5df2ba 100644 |
--- a/Source/wtf/OwnPtrCommon.h |
+++ b/Source/wtf/OwnPtrCommon.h |
@@ -28,6 +28,11 @@ |
#ifndef WTF_OwnPtrCommon_h |
#define WTF_OwnPtrCommon_h |
+#define EnsureOwnPtrConvertibleArgDefn \ |
+ typename EnableIf<IsPointerConvertible<typename PassOwnPtr<U>::ValueType, ValueType>::Value, bool>::Type |
+#define EnsureOwnPtrConvertibleArgDecl \ |
+ EnsureOwnPtrConvertibleArgDefn = true |
+ |
#if OS(WINDOWS) |
typedef struct HBITMAP__* HBITMAP; |
typedef struct HBRUSH__* HBRUSH; |