diff options
author | gavinp <gavinp@chromium.org> | 2015-06-19 14:28:23 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-06-19 21:28:57 +0000 |
commit | 11546f6e3082e4a9462389329183117983772788 (patch) | |
tree | eb8f1d570f23f089f8fbacb8b8cbf01c9f2b2dc8 /net | |
parent | e7904034feb74b05907e2760f24339a8f1032e17 (diff) | |
download | chromium_src-11546f6e3082e4a9462389329183117983772788.zip chromium_src-11546f6e3082e4a9462389329183117983772788.tar.gz chromium_src-11546f6e3082e4a9462389329183117983772788.tar.bz2 |
Fix potential infinite loop in UploadDiskCacheEntryElementReaderUnittest.
The pass through testing cache backend was recursing infinitely on a
SparseIO call. Caught by build bots.
BUG=none
TBR=thakis@chromium.org
Review URL: https://codereview.chromium.org/1198543003
Cr-Commit-Position: refs/heads/master@{#335352}
Diffstat (limited to 'net')
-rw-r--r-- | net/base/upload_disk_cache_entry_element_reader_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/base/upload_disk_cache_entry_element_reader_unittest.cc b/net/base/upload_disk_cache_entry_element_reader_unittest.cc index 2612cfa..7321acc 100644 --- a/net/base/upload_disk_cache_entry_element_reader_unittest.cc +++ b/net/base/upload_disk_cache_entry_element_reader_unittest.cc @@ -118,7 +118,7 @@ class DelayedReadEntry : public disk_cache::Entry { void CancelSparseIO() override { entry_->CancelSparseIO(); } int ReadyForSparseIO(const CompletionCallback& callback) override { - return ReadyForSparseIO(callback); + return entry_->ReadyForSparseIO(callback); } private: |