| Index: third_party/WebKit/Source/modules/cachestorage/Cache.cpp
|
| diff --git a/third_party/WebKit/Source/modules/cachestorage/Cache.cpp b/third_party/WebKit/Source/modules/cachestorage/Cache.cpp
|
| index f02785cab831ec7522dd697a4116815f57ec0bcc..4a8dd9bf1c478127bd1ad50311a28c3abafd8873 100644
|
| --- a/third_party/WebKit/Source/modules/cachestorage/Cache.cpp
|
| +++ b/third_party/WebKit/Source/modules/cachestorage/Cache.cpp
|
| @@ -289,13 +289,13 @@ class Cache::BarrierCallbackForPut final
|
| : number_of_remaining_operations_(number_of_operations),
|
| cache_(cache),
|
| resolver_(resolver) {
|
| - ASSERT(0 < number_of_remaining_operations_);
|
| + DCHECK_LT(0, number_of_remaining_operations_);
|
| batch_operations_.resize(number_of_operations);
|
| }
|
|
|
| void OnSuccess(size_t index,
|
| const WebServiceWorkerCache::BatchOperation& batch_operation) {
|
| - ASSERT(index < batch_operations_.size());
|
| + DCHECK_LT(index, batch_operations_.size());
|
| if (completed_)
|
| return;
|
| if (!resolver_->GetExecutionContext() ||
|
|
|