diff options
Diffstat (limited to 'chrome/app')
-rw-r--r-- | chrome/app/client_util.cc | 4 | ||||
-rw-r--r-- | chrome/app/client_util.h | 4 |
2 files changed, 4 insertions, 4 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; 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). |