| Index: content/child/web_process_memory_dump_impl.cc
|
| diff --git a/content/child/web_process_memory_dump_impl.cc b/content/child/web_process_memory_dump_impl.cc
|
| index 4f53cb469f911b03ed4324dbe9bcaebc9eccdd91..3dc1ff06088f97fb1ec244c8edee17057149b2cd 100644
|
| --- a/content/child/web_process_memory_dump_impl.cc
|
| +++ b/content/child/web_process_memory_dump_impl.cc
|
| @@ -144,8 +144,12 @@ void WebProcessMemoryDumpImpl::AddSuballocation(
|
| SkTraceMemoryDump* WebProcessMemoryDumpImpl::CreateDumpAdapterForSkia(
|
| blink::WebMemoryDumpLevelOfDetail levelOfDetail,
|
| const blink::WebString& dumpNamePrefix) {
|
| + base::trace_event::MemoryDumpArgs args = {
|
| + levelOfDetail == blink::WebMemoryDumpLevelOfDetail::Low
|
| + ? base::trace_event::MemoryDumpArgs::LevelOfDetail::LOW
|
| + : base::trace_event::MemoryDumpArgs::LevelOfDetail::HIGH};
|
| sk_trace_dump_list_.push_back(new skia::SkTraceMemoryDump_Chrome(
|
| - dumpNamePrefix.utf8().data(), process_memory_dump_));
|
| + dumpNamePrefix.utf8().data(), args, process_memory_dump_));
|
| return sk_trace_dump_list_.back();
|
| }
|
|
|
|
|