| Index: components/safe_browsing_db/v4_store.cc
|
| diff --git a/components/safe_browsing_db/v4_store.cc b/components/safe_browsing_db/v4_store.cc
|
| index fe3220a1f2bc01a75b2b3d59269e8b6f1bb49cef..f974d75cbb82deccff2990b267a8fed974822ea5 100644
|
| --- a/components/safe_browsing_db/v4_store.cc
|
| +++ b/components/safe_browsing_db/v4_store.cc
|
| @@ -208,7 +208,7 @@ V4Store::V4Store(const scoped_refptr<base::SequencedTaskRunner>& task_runner,
|
| task_runner_(task_runner) {}
|
|
|
| V4Store::~V4Store() {
|
| - DCHECK(task_runner_->RunsTasksOnCurrentThread());
|
| + DCHECK(task_runner_->RunsTasksInCurrentSequence());
|
| }
|
|
|
| std::string V4Store::DebugString() const {
|
| @@ -533,7 +533,7 @@ ApplyUpdateResult V4Store::MergeUpdate(const HashPrefixMap& old_prefixes_map,
|
| const HashPrefixMap& additions_map,
|
| const RepeatedField<int32>* raw_removals,
|
| const std::string& expected_checksum) {
|
| - DCHECK(task_runner_->RunsTasksOnCurrentThread());
|
| + DCHECK(task_runner_->RunsTasksInCurrentSequence());
|
| DCHECK(hash_prefix_map_.empty());
|
|
|
| bool calculate_checksum = !expected_checksum.empty();
|
| @@ -665,7 +665,7 @@ ApplyUpdateResult V4Store::MergeUpdate(const HashPrefixMap& old_prefixes_map,
|
| }
|
|
|
| StoreReadResult V4Store::ReadFromDisk() {
|
| - DCHECK(task_runner_->RunsTasksOnCurrentThread());
|
| + DCHECK(task_runner_->RunsTasksInCurrentSequence());
|
|
|
| V4StoreFileFormat file_format;
|
| int64_t file_size;
|
| @@ -801,7 +801,7 @@ bool V4Store::HashPrefixMatches(const HashPrefix& hash_prefix,
|
| }
|
|
|
| bool V4Store::VerifyChecksum() {
|
| - DCHECK(task_runner_->RunsTasksOnCurrentThread());
|
| + DCHECK(task_runner_->RunsTasksInCurrentSequence());
|
|
|
| if (expected_checksum_.empty()) {
|
| // Nothing to check here folks!
|
|
|