Index: content/browser/security_exploit_browsertest.cc |
diff --git a/content/browser/security_exploit_browsertest.cc b/content/browser/security_exploit_browsertest.cc |
index 6adbafeff6184ff222e7f4a611f5de1836209983..45117a39d96ff5c53734a1e636c41edf7f314f7c 100644 |
--- a/content/browser/security_exploit_browsertest.cc |
+++ b/content/browser/security_exploit_browsertest.cc |
@@ -554,6 +554,7 @@ IN_PROC_BROWSER_TEST_F(SecurityExploitBrowserTest, MismatchedOriginOnCommit) { |
exit_observer.Wait(); |
EXPECT_FALSE(exit_observer.did_exit_normally()); |
+ ResourceDispatcherHost::Get()->SetDelegate(nullptr); |
} |
} // namespace content |