fix: remove use of deprecated API base::Hash() (#44101)

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
This commit is contained in:
trop[bot] 2024-10-02 20:46:26 -05:00 committed by GitHub
parent f7159b6898
commit daca2d327f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -72,8 +72,8 @@ void DebugLog(std::string_view log_msg) {
LOG(INFO) << log_msg; LOG(INFO) << log_msg;
} }
std::wstring GetTag(const std::string& notification_id) { std::wstring GetTag(const std::string_view notification_id) {
return base::NumberToWString(base::Hash(notification_id)); return base::NumberToWString(base::FastHash(notification_id));
} }
} // namespace } // namespace