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

Unified Diff: third_party/WebKit/Source/platform/heap/BlinkGCMemoryDumpProvider.cpp

Issue 2006943003: [tracing] Sanitize process memory dumps for background mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@whitelist_mdp
Patch Set: Fix stripping. Created 4 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: third_party/WebKit/Source/platform/heap/BlinkGCMemoryDumpProvider.cpp
diff --git a/third_party/WebKit/Source/platform/heap/BlinkGCMemoryDumpProvider.cpp b/third_party/WebKit/Source/platform/heap/BlinkGCMemoryDumpProvider.cpp
index 83f4a786c2e617c7bba200ffd3173c646feb95d6..794cf74ec6f3d1a82a3d18d5a4be53babdcb59b3 100644
--- a/third_party/WebKit/Source/platform/heap/BlinkGCMemoryDumpProvider.cpp
+++ b/third_party/WebKit/Source/platform/heap/BlinkGCMemoryDumpProvider.cpp
@@ -115,7 +115,7 @@ void BlinkGCMemoryDumpProvider::clearProcessDumpForCurrentGC()
}
BlinkGCMemoryDumpProvider::BlinkGCMemoryDumpProvider()
- : m_currentProcessMemoryDump(new base::trace_event::ProcessMemoryDump(nullptr))
+ : m_currentProcessMemoryDump(new base::trace_event::ProcessMemoryDump(nullptr, { base::trace_event::MemoryDumpLevelOfDetail::DETAILED }))
, m_isHeapProfilingEnabled(false)
{
}
« no previous file with comments | « sql/sql_memory_dump_provider_unittest.cc ('k') | third_party/WebKit/Source/platform/heap/BlinkGCMemoryDumpProviderTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698