Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(188)

Unified Diff: content/browser/loader/async_revalidation_manager_unittest.cc

Issue 2469673002: Invalidate WeakPtrs of ResourceMessageFilter on channel shutdown (Closed)
Patch Set: remove test Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/loader/async_revalidation_manager_unittest.cc
diff --git a/content/browser/loader/async_revalidation_manager_unittest.cc b/content/browser/loader/async_revalidation_manager_unittest.cc
index 0bb7d00aecdd64d4d630ea71ea9665649e84ed89..b06f63ce1682bfc4ffa0e1ef897d44cea8dad470 100644
--- a/content/browser/loader/async_revalidation_manager_unittest.cc
+++ b/content/browser/loader/async_revalidation_manager_unittest.cc
@@ -289,6 +289,7 @@ class AsyncRevalidationManagerTest : public ::testing::Test {
base::WrapUnique(new net::TestNetworkDelegate)) {}
void TearDown() override {
+ filter_->OnChannelClosing();
host_.CancelRequestsForProcess(filter_->child_id());
host_.Shutdown();
host_.CancelRequestsForContext(browser_context_->GetResourceContext());
« no previous file with comments | « content/browser/loader/async_resource_handler_unittest.cc ('k') | content/browser/loader/resource_dispatcher_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698