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

Unified Diff: chrome/browser/status_icons/desktop_notification_balloon.cc

Issue 1128173005: Clean up ProfileManager interface. Base URL: https://chromium.googlesource.com/chromium/src@issue479309
Patch Set: sync Created 5 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/status_icons/desktop_notification_balloon.cc
diff --git a/chrome/browser/status_icons/desktop_notification_balloon.cc b/chrome/browser/status_icons/desktop_notification_balloon.cc
index 31a893a2fa5da0ef35c2ab07dd59ce4dd5b9e6f7..abd499adc325650340a3bdad5683fc2bdebdff0c 100644
--- a/chrome/browser/status_icons/desktop_notification_balloon.cc
+++ b/chrome/browser/status_icons/desktop_notification_balloon.cc
@@ -77,7 +77,7 @@ void DesktopNotificationBalloon::DisplayBalloon(
Profile* profile;
{
base::ThreadRestrictions::ScopedAllowIO allow_io;
- profile = ProfileManager::GetLastUsedProfile();
+ profile = g_browser_process->profile_manager()->GetLastUsedProfile();
}
NotificationDelegate* delegate =

Powered by Google App Engine
This is Rietveld 408576698