commit | f62ea04b8e2b89eb110b1615c905fa8ffdb3b90d | [log] [tgz] |
---|---|---|
author | erikchen <[email protected]> | Fri May 25 21:30:57 2018 |
committer | Commit Bot <[email protected]> | Fri May 25 21:30:57 2018 |
tree | f6ffd6feb68425e4fbe99b1dbbe841bac2918d2e | |
parent | f877d2bf928d9fd065b5cac9e07ececd982deead [diff] [blame] |
Remove dead code for legacy heap profiler. This CL is a refactor with no intended behavior change. This CL: * Removes the mojom interface ClientProcesss::EnableHeapProfiling. * Removes the implementation, primarily hosted in MemoryDumpManager. Change-Id: Id55835da60d86520f692385930208a31206f7dce Bug: 822843 TBR: [email protected] Reviewed-on: https://chromium-review.googlesource.com/1069000 Reviewed-by: Daniel Cheng <[email protected]> Reviewed-by: Siddhartha S <[email protected]> Commit-Queue: Erik Chen <[email protected]> Cr-Commit-Position: refs/heads/master@{#562017}
diff --git a/sql/connection_unittest.cc b/sql/connection_unittest.cc index 3042fd7..5fd0440 100644 --- a/sql/connection_unittest.cc +++ b/sql/connection_unittest.cc
@@ -1422,7 +1422,7 @@ TEST_F(SQLConnectionTest, OnMemoryDump) { base::trace_event::MemoryDumpArgs args = { base::trace_event::MemoryDumpLevelOfDetail::DETAILED}; - base::trace_event::ProcessMemoryDump pmd(nullptr, args); + base::trace_event::ProcessMemoryDump pmd(args); ASSERT_TRUE(db().memory_dump_provider_->OnMemoryDump(args, &pmd)); EXPECT_GE(pmd.allocator_dumps().size(), 1u); }