summaryrefslogtreecommitdiffstats
path: root/chrome/app/client_util.h
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-21 21:40:59 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-21 21:40:59 +0000
commita018d5951409fc3c4253cade2632bdbab7351d98 (patch)
tree6dfe7cf785b309b4224d68be9fa870fbb9935931 /chrome/app/client_util.h
parent22b974714deb22ee2c736ca7fe4a8555c1524c67 (diff)
downloadchromium_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.h')
-rw-r--r--chrome/app/client_util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/app/client_util.h b/chrome/app/client_util.h
index 0603f08..2821c1d 100644
--- a/chrome/app/client_util.h
+++ b/chrome/app/client_util.h
@@ -33,8 +33,8 @@ bool GetChromiumVersion(const wchar_t* const exe_path,
// Get path to DLL specified by dll_name. If dll_path is specified and it
// exists we assume DLL is in that directory and return that. Else we search
// for that DLL by calling Windows API.
-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);
// Returns the path to the exe (without the file name) that called this
// function. The buffer should already be allocated (ideally of MAX_PATH size).