Index: chrome/installer/util/google_chrome_distribution.cc |
diff --git a/chrome/installer/util/google_chrome_distribution.cc b/chrome/installer/util/google_chrome_distribution.cc |
index da9eef4761081c8f3f8444d8f3552d9d9eb19320..c9f190e551195ad7cd36f5837913ca8e87c6338a 100644 |
--- a/chrome/installer/util/google_chrome_distribution.cc |
+++ b/chrome/installer/util/google_chrome_distribution.cc |
@@ -503,7 +503,7 @@ void GoogleChromeDistribution::UpdateInstallStatus(bool system_install, |
// command line, but HKCU otherwise. |experiment_group| is the value to write |
// and |last_write| is used when writing to HKLM to determine whether to close |
// the handle when done. |
-void SetClient(std::wstring experiment_group, bool last_write) { |
+void SetClient(const std::wstring& experiment_group, bool last_write) { |
static int reg_key_handle = -1; |
if (reg_key_handle == -1) { |
// If a specific Toast Results key handle (presumably to our HKLM key) was |