Index: chrome/browser/extensions/extension_warning_set.cc |
diff --git a/chrome/browser/extensions/extension_warning_set.cc b/chrome/browser/extensions/extension_warning_set.cc |
index 77437437aa4b92cf276888cd1d7506f5a97c8846..95225aec8666d5d958552852301b69d7255525d5 100644 |
--- a/chrome/browser/extensions/extension_warning_set.cc |
+++ b/chrome/browser/extensions/extension_warning_set.cc |
@@ -144,6 +144,7 @@ void ExtensionWarningSet::NotifyWarningsOnUI( |
CHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
Profile* profile = reinterpret_cast<Profile*>(profile_id); |
if (!profile || |
+ !g_browser_process->profile_manager() || |
!g_browser_process->profile_manager()->IsValidProfile(profile)) { |
return; |
} |