Index: chrome/browser/chromeos/login/session/user_session_manager.cc |
diff --git a/chrome/browser/chromeos/login/session/user_session_manager.cc b/chrome/browser/chromeos/login/session/user_session_manager.cc |
index 16e2bffea06a38b4ca0ab103d6c460abbb47cf6a..393adae0057ef0f4dcea04474170d718b18657db 100644 |
--- a/chrome/browser/chromeos/login/session/user_session_manager.cc |
+++ b/chrome/browser/chromeos/login/session/user_session_manager.cc |
@@ -1225,7 +1225,9 @@ void UserSessionManager::FinalizePrepareProfile(Profile* profile) { |
arc::ArcServiceLauncher::Get()->OnPrimaryUserProfilePrepared(profile); |
- TetherService::Get(profile)->StartTetherIfEnabled(); |
+ TetherService* tether_service = TetherService::Get(profile); |
+ if (tether_service) |
+ tether_service->StartTetherIfEnabled(); |
} |
UpdateEasyUnlockKeys(user_context_); |