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 c8a0828a7b22b7bc5baf093aad881c7de545cce9..f7c71546517b529beda01f7bf546945c5b8c05f0 100644 |
--- a/chrome/browser/download/download_crx_util.cc |
+++ b/chrome/browser/download/download_crx_util.cc |
@@ -84,7 +84,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( |