summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_service.cc
diff options
context:
space:
mode:
authorzelidrag@chromium.org <zelidrag@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-16 10:33:19 +0000
committerzelidrag@chromium.org <zelidrag@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-16 10:33:19 +0000
commit45194083e1b961367cca22afafdd8f75a3ca04c0 (patch)
treebfeebe3c8124c02824b922aed6fa125d17c8cb16 /chrome/browser/extensions/extension_service.cc
parentbbee71dd5dcc722360f8e8c72f42f68b471a78c7 (diff)
downloadchromium_src-45194083e1b961367cca22afafdd8f75a3ca04c0.zip
chromium_src-45194083e1b961367cca22afafdd8f75a3ca04c0.tar.gz
chromium_src-45194083e1b961367cca22afafdd8f75a3ca04c0.tar.bz2
One more check was needed after all.
BUG=none TEST=BackgroundApplicationListModelTest.LoadExplicitExtensions git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81873 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_service.cc')
-rw-r--r--chrome/browser/extensions/extension_service.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/extensions/extension_service.cc b/chrome/browser/extensions/extension_service.cc
index 0847821..2197792 100644
--- a/chrome/browser/extensions/extension_service.cc
+++ b/chrome/browser/extensions/extension_service.cc
@@ -1086,7 +1086,8 @@ void ExtensionService::NotifyExtensionUnloaded(
RevokeRightsForExtension(extension);
#if defined(OS_CHROMEOS)
// Revoke external file access to
- if (profile_->GetFileSystemContext()->path_manager() &&
+ if (profile_->GetFileSystemContext() &&
+ profile_->GetFileSystemContext()->path_manager() &&
profile_->GetFileSystemContext()->path_manager()->external_provider()) {
profile_->GetFileSystemContext()->path_manager()->external_provider()->
RevokeAccessForExtension(extension->id());