Remove base::SizeTToString

https://chromium-review.googlesource.com/c/chromium/src/+/799550
This commit is contained in:
deepak1556 2018-04-09 01:16:23 +05:30 committed by Samuel Attard
parent c31d7ef70a
commit bbb2393031

View file

@ -5,6 +5,7 @@
#include "brightray/browser/zoom_level_delegate.h"
#include <functional>
#include <memory>
#include <vector>
#include "base/bind.h"
@ -31,7 +32,7 @@ const char kPartitionPerHostZoomLevels[] = "partition.per_host_zoom_levels";
std::string GetHash(const base::FilePath& partition_path) {
size_t int_key = std::hash<base::FilePath>()(partition_path);
return base::SizeTToString(int_key);
return base::NumberToString(int_key);
}
} // namespace