| Index: chrome/browser/profiles/off_the_record_profile_impl.cc
|
| diff --git a/chrome/browser/profiles/off_the_record_profile_impl.cc b/chrome/browser/profiles/off_the_record_profile_impl.cc
|
| index ca266022efe76d617b25e276d49ca510bae455e0..0d8faa8e5b03b380bff4f7994732700403f0ff03 100644
|
| --- a/chrome/browser/profiles/off_the_record_profile_impl.cc
|
| +++ b/chrome/browser/profiles/off_the_record_profile_impl.cc
|
| @@ -116,8 +116,10 @@ void OffTheRecordProfileImpl::Init() {
|
| ExtensionIconSource* icon_source = new ExtensionIconSource(profile_);
|
| ChromeURLDataManager::AddDataSource(this, icon_source);
|
|
|
| +#if defined(ENABLE_PLUGINS)
|
| ChromePluginServiceFilter::GetInstance()->RegisterResourceContext(
|
| PluginPrefs::GetForProfile(this), io_data_.GetResourceContextNoInit());
|
| +#endif
|
|
|
| BrowserThread::PostTask(
|
| BrowserThread::IO, FROM_HERE,
|
| @@ -127,8 +129,10 @@ void OffTheRecordProfileImpl::Init() {
|
| OffTheRecordProfileImpl::~OffTheRecordProfileImpl() {
|
| MaybeSendDestroyedNotification();
|
|
|
| +#if defined(ENABLE_PLUGINS)
|
| ChromePluginServiceFilter::GetInstance()->UnregisterResourceContext(
|
| io_data_.GetResourceContextNoInit());
|
| +#endif
|
|
|
| ExtensionService* extension_service =
|
| extensions::ExtensionSystem::Get(this)->extension_service();
|
|
|