Index: content/common/content_message_generator.cc |
diff --git a/content/common/content_message_generator.cc b/content/common/content_message_generator.cc |
index a86fb17d7341fb70a153adcb3dc649086b49f16c..2e2b5a636343a23ba30b9b705534eba2abdd2a2b 100644 |
--- a/content/common/content_message_generator.cc |
+++ b/content/common/content_message_generator.cc |
@@ -14,30 +14,6 @@ |
#include "ipc/struct_destructor_macros.h" |
#include "content/common/content_message_generator.h" |
-#if defined(USE_AURA) && defined(OS_WIN) |
-#include "ui/gfx/native_widget_types.h" |
- |
-namespace IPC { |
-// 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; |
- static void Write(Message* m, const param_type& p) { |
- m->WriteUInt32(reinterpret_cast<uint32>(p)); |
- } |
- static bool Read(const Message* m, PickleIterator* iter, param_type* r) { |
- DCHECK_EQ(sizeof(param_type), sizeof(uint32)); |
- return m->ReadUInt32(iter, reinterpret_cast<uint32*>(r)); |
- } |
- static void Log(const param_type& p, std::string* l) { |
- l->append(StringPrintf("0x%X", p)); |
- } |
-}; |
-} // namespace IPC |
-#endif |
- |
// Generate param traits write methods. |
#include "ipc/param_traits_write_macros.h" |
namespace IPC { |