diff --git a/shell/browser/notifications/win/windows_toast_notification.cc b/shell/browser/notifications/win/windows_toast_notification.cc index 6069bdeae07..35a09f02d21 100644 --- a/shell/browser/notifications/win/windows_toast_notification.cc +++ b/shell/browser/notifications/win/windows_toast_notification.cc @@ -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