| Index: net/http/http_cache_transaction.cc
|
| diff --git a/net/http/http_cache_transaction.cc b/net/http/http_cache_transaction.cc
|
| index 77ea96c12ec3f44cd5c71a34df112c7ecc0cb1d4..527dc2df56b54c5c167726a956e2775b3b3d0e61 100644
|
| --- a/net/http/http_cache_transaction.cc
|
| +++ b/net/http/http_cache_transaction.cc
|
| @@ -327,7 +327,7 @@ bool HttpCache::Transaction::AddTruncatedFlag() {
|
| DCHECK(mode_ & WRITE || mode_ == NONE);
|
|
|
| // Don't set the flag for sparse entries.
|
| - if (is_sparse_)
|
| + if (partial_ && !truncated_)
|
| return true;
|
|
|
| if (!CanResume(true))
|
|
|