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

Unified Diff: content/test/test_renderer_host.cc

Issue 10582012: For unit tests, track additions to AtExitManager and warn. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 months 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/test/test_renderer_host.cc
diff --git a/content/test/test_renderer_host.cc b/content/test/test_renderer_host.cc
index ee1adf2aa98e029b299646773de98e317e810675..f843b069b75d93c70f7b3b8c1beea0cffe575200 100644
--- a/content/test/test_renderer_host.cc
+++ b/content/test/test_renderer_host.cc
@@ -132,6 +132,8 @@ void RenderViewHostTestHarness::SetUp() {
aura_test_helper_->SetUp();
#endif
SetContents(CreateTestWebContents());
+
+ base::UnitTest::SetUp();
}
void RenderViewHostTestHarness::TearDown() {
@@ -146,6 +148,8 @@ void RenderViewHostTestHarness::TearDown() {
// Release the browser context on the UI thread.
message_loop_.DeleteSoon(FROM_HERE, browser_context_.release());
message_loop_.RunAllPending();
+
+ base::UnitTest::TearDown();
}
void RenderViewHostTestHarness::SetRenderProcessHostFactory(
« content/public/test/test_renderer_host.h ('K') | « content/public/test/test_renderer_host.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698