summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/mapped_file_posix.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/disk_cache/mapped_file_posix.cc')
-rw-r--r--net/disk_cache/mapped_file_posix.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/disk_cache/mapped_file_posix.cc b/net/disk_cache/mapped_file_posix.cc
index 9f69c4c..b9d8435 100644
--- a/net/disk_cache/mapped_file_posix.cc
+++ b/net/disk_cache/mapped_file_posix.cc
@@ -12,7 +12,7 @@
namespace disk_cache {
-void* MappedFile::Init(const std::wstring name, size_t size) {
+void* MappedFile::Init(const std::wstring& name, size_t size) {
DCHECK(!init_);
if (init_ || !File::Init(name))
return NULL;