Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4313)

Unified Diff: chrome/browser/component_updater/chrome_component_updater_configurator.cc

Issue 2873513002: Fix dependencies on OutOfProcessPatcher. (Closed)
Patch Set: base namespace fix Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/component_updater/component_patcher_operation_out_of_process.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/component_updater/chrome_component_updater_configurator.cc
diff --git a/chrome/browser/component_updater/chrome_component_updater_configurator.cc b/chrome/browser/component_updater/chrome_component_updater_configurator.cc
index 5acfc4ded9ab9b609eae39e4ad4467a31250b1d3..6d2692085449d85171b1f0bf80940fa1bd03db30 100644
--- a/chrome/browser/component_updater/chrome_component_updater_configurator.cc
+++ b/chrome/browser/component_updater/chrome_component_updater_configurator.cc
@@ -211,7 +211,8 @@ MakeChromeComponentUpdaterConfigurator(
const base::CommandLine* cmdline,
net::URLRequestContextGetter* context_getter,
PrefService* pref_service) {
- return new ChromeConfigurator(cmdline, context_getter, pref_service);
+ return base::MakeShared<ChromeConfigurator>(cmdline, context_getter,
+ pref_service);
}
} // namespace component_updater
« no previous file with comments | « no previous file | chrome/browser/component_updater/component_patcher_operation_out_of_process.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698