Skip to content

Commit

Permalink
fix: remove use of deprecated API base::Hash() (#44102)
Browse files Browse the repository at this point in the history
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
  • Loading branch information
trop[bot] and ckerr authored Oct 2, 2024
1 parent 058a616 commit bf8de29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shell/browser/notifications/win/windows_toast_notification.cc
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,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
Expand Down

0 comments on commit bf8de29

Please sign in to comment.