summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/browser.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/browser.cc b/chrome/browser/browser.cc
index 7010deb..0ecdcb4 100644
--- a/chrome/browser/browser.cc
+++ b/chrome/browser/browser.cc
@@ -2276,7 +2276,7 @@ void Browser::Observe(NotificationType type,
if (!tab_contents)
break;
ExtensionsService* extensions_service =
- Source<ExtensionsService>(source).ptr();
+ Source<Profile>(source).ptr()->GetExtensionsService();
ExtensionHost* extension_host = Details<ExtensionHost>(details).ptr();
tab_contents->AddInfoBar(new CrashedExtensionInfoBarDelegate(
tab_contents, extensions_service, extension_host->extension()));