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; |
+}; |
+#endif // defined(OS_WIN) |
+ |
template <> |
struct IPC_EXPORT ParamTraits<base::Time> { |
typedef base::Time param_type; |