Index: chrome/browser/ui/webui/chromeos/drive_internals_ui.cc |
diff --git a/chrome/browser/ui/webui/chromeos/drive_internals_ui.cc b/chrome/browser/ui/webui/chromeos/drive_internals_ui.cc |
index d1323df12451955703ed69453de22a9f31e8b2b8..e173cdbb5b038f3dba3381e25cbfc7658901b9b8 100644 |
--- a/chrome/browser/ui/webui/chromeos/drive_internals_ui.cc |
+++ b/chrome/browser/ui/webui/chromeos/drive_internals_ui.cc |
@@ -563,7 +563,7 @@ void DriveInternalsWebUIHandler::OnGetFilesystemMetadataForDeltaUpdate( |
Profile* profile = Profile::FromWebUI(web_ui()); |
drive::DriveNotificationManager* drive_notification_manager = |
- drive::DriveNotificationManagerFactory::GetForProfile(profile); |
+ drive::DriveNotificationManagerFactory::GetForBrowserContext(profile); |
if (!drive_notification_manager) |
return; |