| Index: net/disk_cache/entry_impl.cc
|
| diff --git a/net/disk_cache/entry_impl.cc b/net/disk_cache/entry_impl.cc
|
| index 361a7eea0127759b6d010f389e44f0b7ea17a39a..446138e113a1de501775dee67580b1a1b29ba1ec 100644
|
| --- a/net/disk_cache/entry_impl.cc
|
| +++ b/net/disk_cache/entry_impl.cc
|
| @@ -379,11 +379,11 @@ base::PlatformFile EntryImpl::GetPlatformFile(int index) {
|
| if (!address.is_initialized() || !address.is_separate_file())
|
| return base::kInvalidPlatformFileValue;
|
|
|
| - File* cache_file = GetExternalFile(address, index);
|
| - if (!cache_file)
|
| - return base::kInvalidPlatformFileValue;
|
| -
|
| - return cache_file->platform_file();
|
| + return base::CreatePlatformFile(backend_->GetFileName(address),
|
| + base::PLATFORM_FILE_OPEN |
|
| + base::PLATFORM_FILE_READ |
|
| + base::PLATFORM_FILE_ASYNC,
|
| + NULL);
|
| }
|
|
|
| uint32 EntryImpl::GetHash() {
|
|
|