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

Unified Diff: chrome/browser/chromeos/first_run/first_run_controller.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
« no previous file with comments | « chrome/browser/chromeos/first_run/first_run.cc ('k') | chrome/browser/chromeos/login/fake_login_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/first_run/first_run_controller.cc
diff --git a/chrome/browser/chromeos/first_run/first_run_controller.cc b/chrome/browser/chromeos/first_run/first_run_controller.cc
index 1b24e58a15ce7285affedd39957023fb40749245..8a8cd4fbf997b787f99ba1b433b4e248d8f3a848 100644
--- a/chrome/browser/chromeos/first_run/first_run_controller.cc
+++ b/chrome/browser/chromeos/first_run/first_run_controller.cc
@@ -72,8 +72,8 @@ FirstRunController::FirstRunController()
void FirstRunController::Init() {
start_time_ = base::Time::Now();
UserManager* user_manager = UserManager::Get();
- user_profile_ =
- ProfileHelper::Get()->GetProfileByUser(user_manager->GetActiveUser());
+ user_profile_ = ProfileHelper::Get()->GetProfileByUserUnsafe(
+ user_manager->GetActiveUser());
shell_helper_.reset(ash::Shell::GetInstance()->CreateFirstRunHelper());
shell_helper_->AddObserver(this);
« no previous file with comments | « chrome/browser/chromeos/first_run/first_run.cc ('k') | chrome/browser/chromeos/login/fake_login_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698