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

Unified Diff: content/browser/tracing/memory_tracing_browsertest.cc

Issue 2592543002: Make memory-infra tests register / unregister with thread safety (Closed)
Patch Set: Just fix tests. Created 4 years 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
« no previous file with comments | « components/tracing/child/child_trace_message_filter_browsertest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/tracing/memory_tracing_browsertest.cc
diff --git a/content/browser/tracing/memory_tracing_browsertest.cc b/content/browser/tracing/memory_tracing_browsertest.cc
index c015532545d76bb436d9cd4ae7197d66926fb9cc..fe966660829131db6aa2442692f1e5c05a707fd4 100644
--- a/content/browser/tracing/memory_tracing_browsertest.cc
+++ b/content/browser/tracing/memory_tracing_browsertest.cc
@@ -103,8 +103,8 @@ class MemoryTracingTest : public ContentBrowserTest {
}
void TearDown() override {
- MemoryDumpManager::GetInstance()->UnregisterDumpProvider(
- mock_dump_provider_.get());
+ MemoryDumpManager::GetInstance()->UnregisterAndDeleteDumpProviderSoon(
+ std::move(mock_dump_provider_));
mock_dump_provider_.reset();
ContentBrowserTest::TearDown();
}
« no previous file with comments | « components/tracing/child/child_trace_message_filter_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698