summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/file.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/disk_cache/file.h')
-rw-r--r--net/disk_cache/file.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/disk_cache/file.h b/net/disk_cache/file.h
index 93b9a0b..64a71b9 100644
--- a/net/disk_cache/file.h
+++ b/net/disk_cache/file.h
@@ -62,7 +62,7 @@ class File : public base::RefCounted<File> {
// Initializes the object to point to a given file. The file must aready exist
// on disk, and allow shared read and write.
- bool Init(const std::wstring name);
+ bool Init(const std::wstring& name);
// Returns the handle or file descriptor.
OSFile os_file() const;