diff --git a/shell/browser/notifications/win/windows_toast_notification.cc b/shell/browser/notifications/win/windows_toast_notification.cc index 9c0947b2d0..b4e39ccd77 100644 --- a/shell/browser/notifications/win/windows_toast_notification.cc +++ b/shell/browser/notifications/win/windows_toast_notification.cc @@ -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