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

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

Issue 99133022: GetDefaultProfile fixit for Chrome OS network & power settings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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/power/power_prefs.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/sim_dialog_delegate.cc
diff --git a/chrome/browser/chromeos/sim_dialog_delegate.cc b/chrome/browser/chromeos/sim_dialog_delegate.cc
index 0e7718011f5c70185d40cfb1cffafea5399b2bda..d3e543b518f2019da57a2e7bea46027e7036bcde 100644
--- a/chrome/browser/chromeos/sim_dialog_delegate.cc
+++ b/chrome/browser/chromeos/sim_dialog_delegate.cc
@@ -45,7 +45,7 @@ namespace chromeos {
void SimDialogDelegate::ShowDialog(gfx::NativeWindow owning_window,
SimDialogMode mode) {
chrome::ShowWebDialog(owning_window,
- ProfileManager::GetDefaultProfileOrOffTheRecord(),
+ ProfileManager::GetActiveUserProfile(),
new SimDialogDelegate(mode));
}
« no previous file with comments | « chrome/browser/chromeos/power/power_prefs.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698