Index: content/child/npapi/np_channel_base.h |
diff --git a/content/child/npapi/np_channel_base.h b/content/child/npapi/np_channel_base.h |
index 0f6e11fe36678270421acce2356bcf99a7b8e4d9..610eb233d4b6ec7b04ee91eea67161f8a3a1ab7b 100644 |
--- a/content/child/npapi/np_channel_base.h |
+++ b/content/child/npapi/np_channel_base.h |
@@ -21,35 +21,6 @@ namespace base { |
class MessageLoopProxy; |
} |
-#if defined(COMPILER_GCC) |
-namespace BASE_HASH_NAMESPACE { |
- |
-template<> |
-struct hash<NPObject*> { |
- std::size_t operator()(NPObject* const& ptr) const { |
- return hash<size_t>()(reinterpret_cast<size_t>(ptr)); |
- } |
-}; |
- |
-template<> |
-struct hash<struct _NPP*> { |
- std::size_t operator()(struct _NPP* const& ptr) const { |
- return hash<size_t>()(reinterpret_cast<size_t>(ptr)); |
- } |
-}; |
- |
-} // namespace __gnu_cxx |
-#elif defined(COMPILER_MSVC) |
-namespace stdext { |
- |
-template<> |
-inline size_t hash_value(NPObject* const& ptr) { |
- return hash_value(reinterpret_cast<size_t>(ptr)); |
-} |
- |
-} // namespace stdext |
-#endif // COMPILER |
- |
namespace content { |
// Encapsulates an IPC channel between a renderer and another process. Used to |