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

Unified Diff: chrome/browser/ui/zoom/chrome_zoom_level_prefs.cc

Issue 623383002: Align base::hash_map with C++11, part 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@hash-1
Patch Set: clean up stale includes 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/ui/zoom/chrome_zoom_level_prefs.cc
diff --git a/chrome/browser/ui/zoom/chrome_zoom_level_prefs.cc b/chrome/browser/ui/zoom/chrome_zoom_level_prefs.cc
index c49e0d3d3321a9f4a585e9b053336fd6954b91e2..412579461379c95333833a5cc220588830a831e0 100644
--- a/chrome/browser/ui/zoom/chrome_zoom_level_prefs.cc
+++ b/chrome/browser/ui/zoom/chrome_zoom_level_prefs.cc
@@ -25,11 +25,7 @@ namespace {
std::string GetHash(
const base::FilePath& relative_path) {
size_t int_key =
-#if defined(COMPILER_MSVC)
- BASE_HASH_NAMESPACE::hash_value(relative_path);
-#else
BASE_HASH_NAMESPACE::hash<base::FilePath>()(relative_path);
-#endif // COMPILER
return base::SizeTToString(int_key);
}
« no previous file with comments | « chrome/browser/sync_file_system/drive_backend/metadata_database_index.h ('k') | content/common/host_shared_bitmap_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698