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

Unified Diff: chrome/installer/util/google_chrome_sxs_distribution.cc

Issue 367403002: Add missing Pass() calls for passing scoped_ptrs on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years, 6 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
Index: chrome/installer/util/google_chrome_sxs_distribution.cc
diff --git a/chrome/installer/util/google_chrome_sxs_distribution.cc b/chrome/installer/util/google_chrome_sxs_distribution.cc
index 570766071219843fca46db5a7c45fdd1f1bdbb57..b3b7ad852093b562d3a00742dc2d92e24c78c0f3 100644
--- a/chrome/installer/util/google_chrome_sxs_distribution.cc
+++ b/chrome/installer/util/google_chrome_sxs_distribution.cc
@@ -26,9 +26,8 @@ const wchar_t kCommandExecuteImplUuid[] =
} // namespace
GoogleChromeSxSDistribution::GoogleChromeSxSDistribution()
- : GoogleChromeDistribution(
- make_scoped_ptr(
- new UpdatingAppRegistrationData(kChromeSxSGuid))) {
+ : GoogleChromeDistribution(make_scoped_ptr(new UpdatingAppRegistrationData(
+ kChromeSxSGuid)).Pass()) {
}
base::string16 GoogleChromeSxSDistribution::GetBaseAppName() {

Powered by Google App Engine
This is Rietveld 408576698