| Index: chrome/browser/chromeos/profiles/profile_helper.cc
|
| diff --git a/chrome/browser/chromeos/profiles/profile_helper.cc b/chrome/browser/chromeos/profiles/profile_helper.cc
|
| index 9f78be2c6245fd382d14063d8b40b9e4c2368a73..7e69cc750886fc814ae7e2e144f78d17462ec4ef 100644
|
| --- a/chrome/browser/chromeos/profiles/profile_helper.cc
|
| +++ b/chrome/browser/chromeos/profiles/profile_helper.cc
|
| @@ -141,7 +141,8 @@ base::FilePath ProfileHelper::GetUserProfileDir(
|
|
|
| // static
|
| bool ProfileHelper::IsSigninProfile(const Profile* profile) {
|
| - return profile->GetPath().BaseName().value() == chrome::kInitialProfile;
|
| + return profile &&
|
| + profile->GetPath().BaseName().value() == chrome::kInitialProfile;
|
| }
|
|
|
| // static
|
|
|