diff options
Diffstat (limited to 'ipc/ipc_message_utils.h')
-rw-r--r-- | ipc/ipc_message_utils.h | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/ipc/ipc_message_utils.h b/ipc/ipc_message_utils.h index b64b65a..7c46f90 100644 --- a/ipc/ipc_message_utils.h +++ b/ipc/ipc_message_utils.h @@ -20,10 +20,6 @@ #include "ipc/ipc_param_traits.h" #include "ipc/ipc_sync_message.h" -#if defined(USE_AURA) -#include "ui/gfx/native_widget_types.h" -#endif - #if defined(COMPILER_GCC) // GCC "helpfully" tries to inline template methods in release mode. Except we // want the majority of the template junk being expanded once in the @@ -663,13 +659,9 @@ struct ParamTraits<HANDLE> { } }; -#if defined(USE_AURA) -// TODO(beng): Figure out why this is needed, fix that issue and remove -// this. Brett and I were unable to figure out why, but he -// thought this should be harmless. template <> -struct ParamTraits<gfx::PluginWindowHandle> { - typedef gfx::PluginWindowHandle param_type; +struct ParamTraits<HCURSOR> { + typedef HCURSOR param_type; static void Write(Message* m, const param_type& p) { m->WriteUInt32(reinterpret_cast<uint32>(p)); } @@ -681,7 +673,6 @@ struct ParamTraits<gfx::PluginWindowHandle> { l->append(StringPrintf("0x%X", p)); } }; -#endif template <> struct ParamTraits<HACCEL> { |