| Index: content/browser/renderer_host/resource_dispatcher_host_unittest.cc
|
| diff --git a/content/browser/renderer_host/resource_dispatcher_host_unittest.cc b/content/browser/renderer_host/resource_dispatcher_host_unittest.cc
|
| index 00579344754d26dc3d4cacc78c568b83727714a3..b012ff35a1d0c15ca7f80e47c6c5bd90def2ac59 100644
|
| --- a/content/browser/renderer_host/resource_dispatcher_host_unittest.cc
|
| +++ b/content/browser/renderer_host/resource_dispatcher_host_unittest.cc
|
| @@ -377,6 +377,9 @@ class ResourceDispatcherHostTest : public testing::Test,
|
| ChildProcessSecurityPolicyImpl::GetInstance()->Remove(0);
|
|
|
| // Flush the message loop to make application verifiers happy.
|
| + if (ResourceDispatcherHostImpl::Get())
|
| + ResourceDispatcherHostImpl::Get()->CancelRequestsForContext(
|
| + browser_context_->GetResourceContext());
|
| browser_context_.reset();
|
| message_loop_.RunAllPending();
|
| }
|
|
|