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

Unified Diff: chrome_elf/dll_hash/dll_hash.h

Issue 1349783006: Cleanup: Pass std::string as const reference if possible (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert third_party changes Created 5 years, 3 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
Index: chrome_elf/dll_hash/dll_hash.h
diff --git a/chrome_elf/dll_hash/dll_hash.h b/chrome_elf/dll_hash/dll_hash.h
index 82bec8af1cd6c438349879ab0a0de8988f99390f..2cfca818eee2b468a87a4a8935841234eb4ec153 100644
--- a/chrome_elf/dll_hash/dll_hash.h
+++ b/chrome_elf/dll_hash/dll_hash.h
@@ -8,6 +8,6 @@
#include <string>
// Convert a dll name to a hash that can be sent via UMA.
-int DllNameToHash(std::string dll_name);
+int DllNameToHash(const std::string& dll_name);
#endif // CHROME_ELF_DLL_HASH_DLL_HASH_H_

Powered by Google App Engine
This is Rietveld 408576698