Index: chrome/browser/profile_impl.cc |
diff --git a/chrome/browser/profile_impl.cc b/chrome/browser/profile_impl.cc |
index c60c33ba80f1f6fdce6a64eeb915d76d59d88a41..8b046eda08376002dde626668667c4c96749966b 100644 |
--- a/chrome/browser/profile_impl.cc |
+++ b/chrome/browser/profile_impl.cc |
@@ -778,12 +778,12 @@ void ProfileImpl::RegisterExtensionWithRequestContexts( |
const Extension* extension) { |
// AddRef to ensure the data lives until the other thread gets it. Balanced in |
// OnNewExtensions. |
- extension->static_data()->AddRef(); |
+ extension->AddRef(); |
BrowserThread::PostTask( |
BrowserThread::IO, FROM_HERE, |
NewRunnableMethod(extension_info_map_.get(), |
&ExtensionInfoMap::AddExtension, |
- extension->static_data())); |
+ extension)); |
} |
void ProfileImpl::UnregisterExtensionWithRequestContexts( |