diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-28 18:49:58 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-28 18:49:58 +0000 |
commit | 3a1275d5f449608b95f131d693c2e9b2f9d10a2a (patch) | |
tree | ad166bd5a1987958a250bce3f3fbbfa9f14d415d /chrome/installer/util/google_chrome_distribution.cc | |
parent | aa3250ce8045286f822ca88f05eb072e823e985d (diff) | |
download | chromium_src-3a1275d5f449608b95f131d693c2e9b2f9d10a2a.zip chromium_src-3a1275d5f449608b95f131d693c2e9b2f9d10a2a.tar.gz chromium_src-3a1275d5f449608b95f131d693c2e9b2f9d10a2a.tar.bz2 |
Coverity: Pass parameters by reference.
CID=12947,13008,13087,13144,13280,13479,13480,13574,13575,13576,13580,13594,
13595,14186,14351
BUG=none
TEST=none
R=csilv@chromium.org
Review URL: http://codereview.chromium.org/6733043
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79595 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer/util/google_chrome_distribution.cc')
-rw-r--r-- | chrome/installer/util/google_chrome_distribution.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/installer/util/google_chrome_distribution.cc b/chrome/installer/util/google_chrome_distribution.cc index c34ed8d..c2ee5eb 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 |