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

Unified Diff: chrome/browser/profiles/profile.h

Issue 630503002: Align base::hash_map with C++11, part 1. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@hash-2
Patch Set: comments 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: chrome/browser/profiles/profile.h
diff --git a/chrome/browser/profiles/profile.h b/chrome/browser/profiles/profile.h
index 87a4c5fd6c31906e0bcfbec6026d9a7c52d9360e..efc8083bf7b614b9deb17674e33e9a17da3673f2 100644
--- a/chrome/browser/profiles/profile.h
+++ b/chrome/browser/profiles/profile.h
@@ -405,17 +405,4 @@ struct ProfileCompare {
bool operator()(Profile* a, Profile* b) const;
};
-#if defined(COMPILER_GCC)
-namespace BASE_HASH_NAMESPACE {
-
-template<>
-struct hash<Profile*> {
- std::size_t operator()(Profile* const& p) const {
- return reinterpret_cast<std::size_t>(p);
- }
-};
-
-} // namespace BASE_HASH_NAMESPACE
-#endif
-
#endif // CHROME_BROWSER_PROFILES_PROFILE_H_
« no previous file with comments | « chrome/browser/download/chrome_download_manager_delegate.h ('k') | chrome/browser/safe_browsing/protocol_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698