Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(456)

Unified Diff: sandbox/win/src/process_thread_dispatcher.cc

Issue 10824033: Coverity: Fix several pass-by-values. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Win build fix. Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/native_client/src/trusted/plugin/service_runtime.cc ('k') | skia/ext/skia_sandbox_support_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/win/src/process_thread_dispatcher.cc
diff --git a/sandbox/win/src/process_thread_dispatcher.cc b/sandbox/win/src/process_thread_dispatcher.cc
index 2df203a682d8f004858e8403e04f5f2776591bf7..b2331b7f525039c52439349858b91bd6b53c0de4 100644
--- a/sandbox/win/src/process_thread_dispatcher.cc
+++ b/sandbox/win/src/process_thread_dispatcher.cc
@@ -64,7 +64,7 @@ bool IsPathRelative(const std::wstring &path) {
}
// Converts a relative path to an absolute path.
-bool ConvertToAbsolutePath(const std::wstring child_current_directory,
+bool ConvertToAbsolutePath(const std::wstring& child_current_directory,
bool use_env_path, std::wstring *path) {
wchar_t file_buffer[MAX_PATH];
wchar_t *file_part = NULL;
« no previous file with comments | « ppapi/native_client/src/trusted/plugin/service_runtime.cc ('k') | skia/ext/skia_sandbox_support_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698