Chromium Code Reviews| Index: ios/chrome/browser/component_updater/ios_component_updater_configurator.cc |
| diff --git a/ios/chrome/browser/component_updater/ios_component_updater_configurator.cc b/ios/chrome/browser/component_updater/ios_component_updater_configurator.cc |
| index 84baa7bd97584baed5585647cabfce928fa1b330..bf3039645fec796ed864b221cf1142993e2043e5 100644 |
| --- a/ios/chrome/browser/component_updater/ios_component_updater_configurator.cc |
| +++ b/ios/chrome/browser/component_updater/ios_component_updater_configurator.cc |
| @@ -10,7 +10,7 @@ |
| #include "base/threading/sequenced_worker_pool.h" |
| #include "base/version.h" |
| #include "components/component_updater/configurator_impl.h" |
| -#include "components/update_client/component_patcher_operation.h" |
| +#include "components/update_client/out_of_process_patcher.h" |
| #include "components/update_client/update_query_params.h" |
| #include "ios/chrome/browser/application_context.h" |
| #include "ios/chrome/browser/google/google_brand.h" |
| @@ -174,7 +174,7 @@ bool IOSConfigurator::IsPerUserInstall() const { |
| scoped_refptr<update_client::Configurator> MakeIOSComponentUpdaterConfigurator( |
| const base::CommandLine* cmdline, |
| net::URLRequestContextGetter* context_getter) { |
| - return new IOSConfigurator(cmdline, context_getter); |
| + return base::MakeRefCounted<IOSConfigurator>(cmdline, context_getter); |
|
sdefresne
2017/05/09 08:23:12
MakeRefCounter -> MakeShared
Sorin Jianu
2017/05/09 17:30:09
Done.
|
| } |
| } // namespace component_updater |