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

Unified Diff: third_party/WebKit/Source/platform/web_process_memory_dump.cc

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
« no previous file with comments | « third_party/WebKit/Source/platform/heap/BlinkGCMemoryDumpProviderTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/web_process_memory_dump.cc
diff --git a/third_party/WebKit/Source/platform/web_process_memory_dump.cc b/third_party/WebKit/Source/platform/web_process_memory_dump.cc
index 70afbd37131128d649b9bcfe88c0d2b3fd4bd1fb..46f768af55ef2291cae9b0e4c6dfb793976a4bea 100644
--- a/third_party/WebKit/Source/platform/web_process_memory_dump.cc
+++ b/third_party/WebKit/Source/platform/web_process_memory_dump.cc
@@ -21,9 +21,10 @@ namespace blink {
WebProcessMemoryDump::WebProcessMemoryDump()
: owned_process_memory_dump_(
- new base::trace_event::ProcessMemoryDump(nullptr)),
- process_memory_dump_(owned_process_memory_dump_.get()),
- level_of_detail_(base::trace_event::MemoryDumpLevelOfDetail::DETAILED) {}
+ new base::trace_event::ProcessMemoryDump(nullptr, { base::trace_event::MemoryDumpLevelOfDetail::DETAILED }))
+ , process_memory_dump_(owned_process_memory_dump_.get())
+ , level_of_detail_(base::trace_event::MemoryDumpLevelOfDetail::DETAILED) {
+}
WebProcessMemoryDump::WebProcessMemoryDump(
base::trace_event::MemoryDumpLevelOfDetail level_of_detail,
« no previous file with comments | « third_party/WebKit/Source/platform/heap/BlinkGCMemoryDumpProviderTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698