diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-21 21:40:59 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-21 21:40:59 +0000 |
commit | a018d5951409fc3c4253cade2632bdbab7351d98 (patch) | |
tree | 6dfe7cf785b309b4224d68be9fa870fbb9935931 /chrome/app/client_util.cc | |
parent | 22b974714deb22ee2c736ca7fe4a8555c1524c67 (diff) | |
download | chromium_src-a018d5951409fc3c4253cade2632bdbab7351d98.zip chromium_src-a018d5951409fc3c4253cade2632bdbab7351d98.tar.gz chromium_src-a018d5951409fc3c4253cade2632bdbab7351d98.tar.bz2 |
Coverity: Pass strings by reference.
CID=2635
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/293058
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29716 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/client_util.cc')
-rw-r--r-- | chrome/app/client_util.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/app/client_util.cc b/chrome/app/client_util.cc index 0285c56..93cbdcd 100644 --- a/chrome/app/client_util.cc +++ b/chrome/app/client_util.cc @@ -63,8 +63,8 @@ bool GetChromiumVersion(const wchar_t* const exe_path, return ret; } -std::wstring GetDLLPath(const std::wstring dll_name, - const std::wstring dll_path) { +std::wstring GetDLLPath(const std::wstring& dll_name, + const std::wstring& dll_path) { if (!dll_path.empty() && FileExists(dll_path.c_str())) return dll_path + L"\\" + dll_name; |