summaryrefslogtreecommitdiffstats
path: root/components/update_client/component_patcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'components/update_client/component_patcher.h')
-rw-r--r--components/update_client/component_patcher.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/update_client/component_patcher.h b/components/update_client/component_patcher.h
index b7dd216..394edfe 100644
--- a/components/update_client/component_patcher.h
+++ b/components/update_client/component_patcher.h
@@ -61,7 +61,7 @@ class ComponentPatcher : public base::RefCountedThreadSafe<ComponentPatcher> {
// out-of-process.
ComponentPatcher(const base::FilePath& input_dir,
const base::FilePath& unpack_dir,
- ComponentInstaller* installer,
+ scoped_refptr<ComponentInstaller> installer,
scoped_refptr<OutOfProcessPatcher> out_of_process_patcher,
scoped_refptr<base::SequencedTaskRunner> task_runner);
@@ -86,7 +86,7 @@ class ComponentPatcher : public base::RefCountedThreadSafe<ComponentPatcher> {
const base::FilePath input_dir_;
const base::FilePath unpack_dir_;
- ComponentInstaller* const installer_;
+ scoped_refptr<ComponentInstaller> installer_;
scoped_refptr<OutOfProcessPatcher> out_of_process_patcher_;
ComponentUnpacker::Callback callback_;
scoped_ptr<base::ListValue> commands_;