summaryrefslogtreecommitdiff
path: root/net/disk_cache/backend_cleanup_tracker.cc
diff options
context:
space:
mode:
authorCronet Mainline Eng <cronet-mainline-eng+copybara@google.com>2023-03-22 02:58:49 -0800
committerPatrick Rohr <prohr@google.com>2023-03-22 04:40:18 -0700
commitc175721cfcc03e339122be17d569239df9762b2b (patch)
tree64fed42a909067904ef77b573e554a172241bdfe /net/disk_cache/backend_cleanup_tracker.cc
parent26b17131b27be4b84fc089d96dcc1998e686ecf9 (diff)
downloadcronet-c175721cfcc03e339122be17d569239df9762b2b.tar.gz
Import Cronet version 110.0.5481.154
Project import generated by Copybara. FolderOrigin-RevId: /tmp/copybara-origin/src Test: none Change-Id: I534a69efa61b40fdc95613bce5bc5dd9a432f646
Diffstat (limited to 'net/disk_cache/backend_cleanup_tracker.cc')
-rw-r--r--net/disk_cache/backend_cleanup_tracker.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/disk_cache/backend_cleanup_tracker.cc b/net/disk_cache/backend_cleanup_tracker.cc
index ff685bb9c..0a1dfb179 100644
--- a/net/disk_cache/backend_cleanup_tracker.cc
+++ b/net/disk_cache/backend_cleanup_tracker.cc
@@ -16,7 +16,6 @@
#include "base/memory/ref_counted.h"
#include "base/synchronization/lock.h"
#include "base/task/sequenced_task_runner.h"
-#include "base/threading/sequenced_task_runner_handle.h"
namespace disk_cache {
@@ -68,7 +67,7 @@ void BackendCleanupTracker::AddPostCleanupCallback(base::OnceClosure cb) {
}
void BackendCleanupTracker::AddPostCleanupCallbackImpl(base::OnceClosure cb) {
- post_cleanup_cbs_.emplace_back(base::SequencedTaskRunnerHandle::Get(),
+ post_cleanup_cbs_.emplace_back(base::SequencedTaskRunner::GetCurrentDefault(),
std::move(cb));
}