Index: net/tools/dump_cache/cache_dumper.cc |
diff --git a/net/tools/dump_cache/cache_dumper.cc b/net/tools/dump_cache/cache_dumper.cc |
index 99e3dcdc24d2625feaa03fbc2ebd9551a6f95ab2..8820798153f82a0eb6edd2481b32a3d0d3c411b7 100644 |
--- a/net/tools/dump_cache/cache_dumper.cc |
+++ b/net/tools/dump_cache/cache_dumper.cc |
@@ -69,7 +69,7 @@ bool SafeCreateDirectory(const base::FilePath& path) { |
} |
DiskDumper::DiskDumper(const base::FilePath& path) |
- : path_(path), entry_(NULL) { |
+ : path_(path.AsEndingWithSeparator()), entry_(NULL) { |
base::CreateDirectory(path); |
} |