mirror of
https://github.com/electron/electron.git
synced 2026-01-07 22:54:25 -05:00
fix: remove use of deprecated API base::Hash() (#44076)
This commit is contained in:
@@ -70,8 +70,8 @@ void DebugLog(std::string_view log_msg) {
|
||||
LOG(INFO) << log_msg;
|
||||
}
|
||||
|
||||
std::wstring GetTag(const std::string& notification_id) {
|
||||
return base::NumberToWString(base::Hash(notification_id));
|
||||
std::wstring GetTag(const std::string_view notification_id) {
|
||||
return base::NumberToWString(base::FastHash(notification_id));
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
||||
Reference in New Issue
Block a user