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

Unified Diff: components/tracing/child/child_trace_message_filter_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
Index: components/tracing/child/child_trace_message_filter_browsertest.cc
diff --git a/components/tracing/child/child_trace_message_filter_browsertest.cc b/components/tracing/child/child_trace_message_filter_browsertest.cc
index 156de40fef4aa25e89bd0f3c83bee045c998604d..d0d2d020a880335cbb508a498e4a276a664052c7 100644
--- a/components/tracing/child/child_trace_message_filter_browsertest.cc
+++ b/components/tracing/child/child_trace_message_filter_browsertest.cc
@@ -55,7 +55,8 @@ class ChildTracingTest : public content::RenderViewTest, public IPC::Listener {
// registered itself by now; this cannot be prevented easily.
mock_dump_provider_.reset(new MockDumpProvider());
MemoryDumpManager::GetInstance()->RegisterDumpProvider(
- mock_dump_provider_.get(), "MockDumpProvider", nullptr);
+ mock_dump_provider_.get(), "MockDumpProvider",
+ base::ThreadTaskRunnerHandle::Get());
MemoryDumpManager::GetInstance()
->set_dumper_registrations_ignored_for_testing(true);
« no previous file with comments | « base/trace_event/memory_dump_manager_unittest.cc ('k') | content/browser/tracing/memory_tracing_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698