Index: components/browsing_data/content/conditional_cache_deletion_helper.cc |
diff --git a/components/browsing_data/content/conditional_cache_deletion_helper.cc b/components/browsing_data/content/conditional_cache_deletion_helper.cc |
index 4f4a4743597e8270518452e625ea14105d1b509b..416ad0ce8e71b529f3dad564e57e598e5486eb2e 100644 |
--- a/components/browsing_data/content/conditional_cache_deletion_helper.cc |
+++ b/components/browsing_data/content/conditional_cache_deletion_helper.cc |
@@ -79,7 +79,7 @@ void ConditionalCacheDeletionHelper::IterateOverEntries(int error) { |
// The iteration finished successfuly or we can no longer iterate |
// (e.g. the cache was destroyed). We cannot distinguish between the two, |
// but we know that there is nothing more that we can do, so we return OK. |
- base::MessageLoop::current()->task_runner()->PostTask( |
+ base::ThreadTaskRunnerHandle::Get()->PostTask( |
FROM_HERE, base::Bind(completion_callback_, net::OK)); |
base::ThreadTaskRunnerHandle::Get()->DeleteSoon(FROM_HERE, this); |
return; |