Chromium Code Reviews| Index: ipc/ipc_message_utils.h |
| diff --git a/ipc/ipc_message_utils.h b/ipc/ipc_message_utils.h |
| index fc72210059e2f939f0510251f3569715f4ec96f6..c775d8da00ebf29f08b8b96d0da84dafccc151be 100644 |
| --- a/ipc/ipc_message_utils.h |
| +++ b/ipc/ipc_message_utils.h |
| @@ -475,6 +475,13 @@ struct SimilarTypeTraits<base::PlatformFileError> { |
| typedef int Type; |
| }; |
| +#if defined(OS_WIN) |
| +template <> |
| +struct SimilarTypeTraits<HWND> { |
| + typedef HANDLE Type; |
|
jam
2013/02/27 20:35:34
we already send HWNDs in IPCs, so I'm not sure why
grt (UTC plus 2)
2013/02/28 02:48:41
That code sends HANDLEs, not HWNDs. In practice, t
|
| +}; |
| +#endif // defined(OS_WIN) |
| + |
| template <> |
| struct IPC_EXPORT ParamTraits<base::Time> { |
| typedef base::Time param_type; |