From 0a670edfacc27f9d1ec85c2764bc81a955ab15f8 Mon Sep 17 00:00:00 2001 From: "ben@chromium.org" Date: Tue, 6 Sep 2011 21:01:09 +0000 Subject: Revert 99810 - Get the rest of the chrome target to build (but not link) with USE_AURA. http://crbug.com/93947 TEST=none Review URL: http://codereview.chromium.org/7839002 TBR=ben@chromium.org Review URL: http://codereview.chromium.org/7840010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99813 0039d316-1c4b-4281-b951-d872f2087c98 --- ipc/ipc_message_utils.h | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'ipc/ipc_message_utils.h') 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 { } }; -#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 { - typedef gfx::PluginWindowHandle param_type; +struct ParamTraits { + typedef HCURSOR param_type; static void Write(Message* m, const param_type& p) { m->WriteUInt32(reinterpret_cast(p)); } @@ -681,7 +673,6 @@ struct ParamTraits { l->append(StringPrintf("0x%X", p)); } }; -#endif template <> struct ParamTraits { -- cgit v1.1