Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1562)

Unified Diff: chrome/browser/chromeos/profiles/profile_helper.cc

Issue 240333011: Always load signin profile on Chrome OS startup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Next iteration. Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 cda520eef79767df51db0801c57f9806edac7cf2..74dae1eb4f308d00eb4fb522fc1fd8dcefbe4c4d 100644
--- a/chrome/browser/chromeos/profiles/profile_helper.cc
+++ b/chrome/browser/chromeos/profiles/profile_helper.cc
@@ -119,7 +119,8 @@ base::FilePath ProfileHelper::GetUserProfileDir(
// static
bool ProfileHelper::IsSigninProfile(Profile* profile) {
- return profile->GetPath().BaseName().value() == chrome::kInitialProfile;
+ return profile &&
+ profile->GetPath().BaseName().value() == chrome::kInitialProfile;
}
// static

Powered by Google App Engine
This is Rietveld 408576698