Remove base::SizeTToString
https://chromium-review.googlesource.com/c/chromium/src/+/799550
This commit is contained in:
parent
c31d7ef70a
commit
bbb2393031
1 changed files with 2 additions and 1 deletions
|
@ -5,6 +5,7 @@
|
||||||
#include "brightray/browser/zoom_level_delegate.h"
|
#include "brightray/browser/zoom_level_delegate.h"
|
||||||
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
|
#include <memory>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include "base/bind.h"
|
#include "base/bind.h"
|
||||||
|
@ -31,7 +32,7 @@ const char kPartitionPerHostZoomLevels[] = "partition.per_host_zoom_levels";
|
||||||
|
|
||||||
std::string GetHash(const base::FilePath& partition_path) {
|
std::string GetHash(const base::FilePath& partition_path) {
|
||||||
size_t int_key = std::hash<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
|
} // namespace
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue