| Index: chrome/browser/chrome_plugin_service_filter.cc
|
| diff --git a/chrome/browser/chrome_plugin_service_filter.cc b/chrome/browser/chrome_plugin_service_filter.cc
|
| index c56db28c2a41d5d1e5fe44f0edc6e00758ee2754..29b3c4070e40c225f5686f56ca4f0a01e0d5947c 100644
|
| --- a/chrome/browser/chrome_plugin_service_filter.cc
|
| +++ b/chrome/browser/chrome_plugin_service_filter.cc
|
| @@ -156,7 +156,7 @@ void ChromePluginServiceFilter::Observe(
|
| case chrome::NOTIFICATION_PLUGIN_ENABLE_STATUS_CHANGED: {
|
| Profile* profile = content::Source<Profile>(source).ptr();
|
| PluginService::GetInstance()->PurgePluginListCache(profile, false);
|
| - if (profile->HasOffTheRecordProfile()) {
|
| + if (profile && profile->HasOffTheRecordProfile()) {
|
| PluginService::GetInstance()->PurgePluginListCache(
|
| profile->GetOffTheRecordProfile(), false);
|
| }
|
|
|