summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/mapped_file_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/disk_cache/mapped_file_win.cc')
-rw-r--r--net/disk_cache/mapped_file_win.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/disk_cache/mapped_file_win.cc b/net/disk_cache/mapped_file_win.cc
index 0692961..69c13a4 100644
--- a/net/disk_cache/mapped_file_win.cc
+++ b/net/disk_cache/mapped_file_win.cc
@@ -10,9 +10,9 @@
namespace disk_cache {
-void* MappedFile::Init(const std::wstring& name, size_t size) {
+void* MappedFile::Init(const FilePath& name, size_t size) {
DCHECK(!init_);
- if (init_ || !File::Init(FilePath::FromWStringHack(name)))
+ if (init_ || !File::Init(name))
return NULL;
buffer_ = NULL;