Index: components/update_client/component_patcher.h |
diff --git a/components/update_client/component_patcher.h b/components/update_client/component_patcher.h |
index b7dd216df4a90386441a75bb390f940d09a1fe8b..394edfef8c2c6ed0f6487a613a2e3c50f1e355dd 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_; |