Index: chrome/browser/download/download_crx_util.cc |
diff --git a/chrome/browser/download/download_crx_util.cc b/chrome/browser/download/download_crx_util.cc |
index cfe53520386bdb30d757e0da8efbf450e6feab80..3af14db9dd0089b0d6647dea9f8727732ab6aecb 100644 |
--- a/chrome/browser/download/download_crx_util.cc |
+++ b/chrome/browser/download/download_crx_util.cc |
@@ -80,7 +80,8 @@ scoped_refptr<extensions::CrxInstaller> OpenChromeExtension( |
const DownloadItem& download_item) { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
- ExtensionService* service = profile->GetExtensionService(); |
+ ExtensionService* service = extensions::ExtensionSystem::Get(profile)-> |
+ extension_service(); |
CHECK(service); |
scoped_refptr<extensions::CrxInstaller> installer( |