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

Unified Diff: content/public/browser/browser_context.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/public/browser/browser_context.h
diff --git a/content/public/browser/browser_context.h b/content/public/browser/browser_context.h
index 25190a6f8618330620b47c1943db036a300c6b22..0e9bc189afe238d4a5101476b9739bb2b480ce4a 100644
--- a/content/public/browser/browser_context.h
+++ b/content/public/browser/browser_context.h
@@ -168,17 +168,4 @@ class CONTENT_EXPORT BrowserContext : public base::SupportsUserData {
} // namespace content
-#if defined(COMPILER_GCC)
-namespace BASE_HASH_NAMESPACE {
-
-template<>
-struct hash<content::BrowserContext*> {
- std::size_t operator()(content::BrowserContext* const& p) const {
- return reinterpret_cast<std::size_t>(p);
- }
-};
-
-} // namespace BASE_HASH_NAMESPACE
-#endif
-
#endif // CONTENT_PUBLIC_BROWSER_BROWSER_CONTEXT_H_

Powered by Google App Engine
This is Rietveld 408576698