Index: content/common/host_shared_bitmap_manager.h |
diff --git a/content/common/host_shared_bitmap_manager.h b/content/common/host_shared_bitmap_manager.h |
index 66d5396252fede03b060c316b3496f951b2114ac..48a6e5220057bcf3a7393f5e32e521e29a560690 100644 |
--- a/content/common/host_shared_bitmap_manager.h |
+++ b/content/common/host_shared_bitmap_manager.h |
@@ -20,18 +20,12 @@ |
#include "content/common/content_export.h" |
namespace BASE_HASH_NAMESPACE { |
-#if defined(COMPILER_GCC) |
template <> |
struct hash<cc::SharedBitmapId> { |
size_t operator()(const cc::SharedBitmapId& id) const { |
return base::Hash(reinterpret_cast<const char*>(id.name), sizeof(id.name)); |
} |
}; |
-#elif defined(COMPILER_MSVC) |
-inline std::size_t hash_value(const cc::SharedBitmapId& id) { |
- return base::Hash(reinterpret_cast<const char*>(id.name), sizeof(id.name)); |
-} |
-#endif // COMPILER |
} // namespace BASE_HASH_NAMESPACE |
namespace content { |