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

Unified Diff: chrome/browser/chromeos/first_run/first_run.cc

Issue 445353004: GetProfileByUser deprecated and renamed to GetProfileByUserUnsafe. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments addressed. Created 6 years, 4 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/first_run/first_run.cc
diff --git a/chrome/browser/chromeos/first_run/first_run.cc b/chrome/browser/chromeos/first_run/first_run.cc
index 7ac58d76fab82fec582aae35e8bd34ecf8074a95..c3e73e955a591b4415521782279020f05a071d53 100644
--- a/chrome/browser/chromeos/first_run/first_run.cc
+++ b/chrome/browser/chromeos/first_run/first_run.cc
@@ -97,8 +97,8 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) {
void MaybeLaunchDialogAfterSessionStart() {
UserManager* user_manager = UserManager::Get();
- new DialogLauncher(
- ProfileHelper::Get()->GetProfileByUser(user_manager->GetActiveUser()));
+ new DialogLauncher(ProfileHelper::Get()->GetProfileByUserUnsafe(
+ user_manager->GetActiveUser()));
}
void LaunchTutorial() {

Powered by Google App Engine
This is Rietveld 408576698