Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1272)

Unified Diff: content/browser/manifest/manifest_manager_host.h

Issue 612323010: Align base::hash_map with C++11. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Try a different tack for C++ insanity Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/manifest/manifest_manager_host.h
diff --git a/content/browser/manifest/manifest_manager_host.h b/content/browser/manifest/manifest_manager_host.h
index ee2415340c8ea395a9d706454434fa7f59cee59e..f31747803ca805a4d78cb033031444c178756448 100644
--- a/content/browser/manifest/manifest_manager_host.h
+++ b/content/browser/manifest/manifest_manager_host.h
@@ -9,17 +9,6 @@
#include "base/id_map.h"
#include "content/public/browser/web_contents_observer.h"
-#if defined(COMPILER_GCC)
-namespace BASE_HASH_NAMESPACE {
-template<>
-struct hash<content::RenderFrameHost*> {
- uint64 operator()(content::RenderFrameHost* ptr) const {
- return hash<uint64>()(reinterpret_cast<uint64>(ptr));
- }
-};
-}
-#endif
-
namespace content {
class RenderFrameHost;

Powered by Google App Engine
This is Rietveld 408576698