summaryrefslogtreecommitdiffstats
path: root/chrome_elf/dll_hash/dll_hash.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome_elf/dll_hash/dll_hash.cc')
-rw-r--r--chrome_elf/dll_hash/dll_hash.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome_elf/dll_hash/dll_hash.cc b/chrome_elf/dll_hash/dll_hash.cc
index ecd1491..d98c49d 100644
--- a/chrome_elf/dll_hash/dll_hash.cc
+++ b/chrome_elf/dll_hash/dll_hash.cc
@@ -5,7 +5,7 @@
#include "base/hash.h"
#include "chrome_elf/dll_hash/dll_hash.h"
-int DllNameToHash(std::string dll_name) {
+int DllNameToHash(const std::string& dll_name) {
uint32 data = base::Hash(dll_name);
// Strip off the signed bit because UMA doesn't support negative values,