summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/crx_installer.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/crx_installer.h')
-rw-r--r--chrome/browser/extensions/crx_installer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/extensions/crx_installer.h b/chrome/browser/extensions/crx_installer.h
index bb109c2..80f0347 100644
--- a/chrome/browser/extensions/crx_installer.h
+++ b/chrome/browser/extensions/crx_installer.h
@@ -182,7 +182,9 @@ class CrxInstaller
// The client we will work with to do the installation. This can be NULL, in
// which case the install is silent.
- scoped_ptr<ExtensionInstallUI> client_;
+ // NOTE: we may be deleted on the file thread. To ensure the UI is deleted on
+ // the main thread we don't use a scoped_ptr here.
+ ExtensionInstallUI* client_;
// The root of the unpacked extension directory. This is a subdirectory of
// temp_dir_, so we don't have to delete it explicitly.