Index: chrome/browser/local_discovery/privet_notifications.cc |
diff --git a/chrome/browser/local_discovery/privet_notifications.cc b/chrome/browser/local_discovery/privet_notifications.cc |
index f87e0a9e64e2ffe283502f28e369962b089533bb..9d3c5f86560c412de85412b4df45df9c3af98f72 100644 |
--- a/chrome/browser/local_discovery/privet_notifications.cc |
+++ b/chrome/browser/local_discovery/privet_notifications.cc |
@@ -297,7 +297,7 @@ void PrivetNotificationService::Start() { |
SigninManagerFactory::GetForProfileIfExists( |
Profile::FromBrowserContext(profile_)); |
- if (!signin_manager || signin_manager->GetAuthenticatedUsername().empty()) |
+ if (!signin_manager || !signin_manager->IsAuthenticated()) |
return; |
#endif |