Chromium Code Reviews| Index: net/disk_cache/mapped_file_win.cc |
| =================================================================== |
| --- net/disk_cache/mapped_file_win.cc (revision 139948) |
| +++ net/disk_cache/mapped_file_win.cc (working copy) |
| @@ -28,7 +28,7 @@ |
| view_size_ = size; |
| // Make sure we detect hardware failures reading the headers. |
| - size_t temp_len = size ? size : 4096; |
| + size_t temp_len = size ? size : 4096 * 2; |
| scoped_array<char> temp(new char[temp_len]); |
| if (!Read(temp.get(), temp_len, 0)) |
| return NULL; |