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..f171fb32d7e409706e1c946008ac8f5aa6dea353 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::MakeShared<IOSConfigurator>(cmdline, context_getter); |
} |
} // namespace component_updater |