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

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

Issue 1579583004: shell_util: Use std::move instead of Pass. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/shell_util.cc
diff --git a/chrome/installer/util/shell_util.cc b/chrome/installer/util/shell_util.cc
index 6051eba27ab6845612c5c676faf0c3c67d209d0e..c0e53b0b99ab62fd2716d6928fbfc4c011f65475 100644
--- a/chrome/installer/util/shell_util.cc
+++ b/chrome/installer/util/shell_util.cc
@@ -15,6 +15,7 @@
#include <limits>
#include <string>
+#include <utility>
#include "base/bind.h"
#include "base/command_line.h"
@@ -274,7 +275,7 @@ ScopedVector<RegistryEntry> GetChromeDelegateExecuteEntries(
sub_path, ShellUtil::kRegDelegateExecute, app_info.delegate_clsid));
}
- return entries.Pass();
+ return std::move(entries);
}
// Gets the registry entries to register an application in the Windows registry.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698