Chromium Code Reviews| Index: Source/wtf/OwnPtrCommon.h |
| diff --git a/Source/wtf/OwnPtrCommon.h b/Source/wtf/OwnPtrCommon.h |
| index 6aada1f80a0e087531aa6db185f29d6f9d68fb8d..b33c3b221900b837419ec7009b19261eaaf6b2eb 100644 |
| --- a/Source/wtf/OwnPtrCommon.h |
| +++ b/Source/wtf/OwnPtrCommon.h |
| @@ -28,6 +28,11 @@ |
| #ifndef WTF_OwnPtrCommon_h |
| #define WTF_OwnPtrCommon_h |
| +#define EnsureOwnPtrConvertibleArgDecl(From, To) \ |
| + EnsurePtrConvertibleArgDecl(typename RemovePointer<From>::Type, typename RemovePointer<To>::Type) |
| +#define EnsureOwnPtrConvertibleArgDefn(From, To) \ |
| + EnsurePtrConvertibleArgDefn(typename RemovePointer<From>::Type, typename RemovePointer<To>::Type) |
|
kouhei (in TOK)
2013/09/02 12:17:24
I think we should use the macro in TypeTraits.h.
|
| + |
| #if OS(WINDOWS) |
| typedef struct HBITMAP__* HBITMAP; |
| typedef struct HBRUSH__* HBRUSH; |