Index: content/child/web_memory_dump_provider_adapter.cc |
diff --git a/content/child/web_memory_dump_provider_adapter.cc b/content/child/web_memory_dump_provider_adapter.cc |
index 7260803bdf366838c29d59af59ec2c2c9f2307b4..7198ea92340a7b1ca515bfe2ec8c1e8ee7e04b2e 100644 |
--- a/content/child/web_memory_dump_provider_adapter.cc |
+++ b/content/child/web_memory_dump_provider_adapter.cc |
@@ -23,11 +23,13 @@ bool WebMemoryDumpProviderAdapter::OnMemoryDump( |
base::trace_event::ProcessMemoryDump* pmd) { |
blink::WebMemoryDumpLevelOfDetail level; |
switch (args.level_of_detail) { |
- case base::trace_event::MemoryDumpArgs::LevelOfDetail::LOW: |
- level = blink::WebMemoryDumpLevelOfDetail::Low; |
+ case base::trace_event::MemoryDumpLevelOfDetail::LIGHT: |
+ // TODO(primiano): switch to actual constant once the corresponding |
+ // rename lands in blink and rolls. |
+ level = static_cast<blink::WebMemoryDumpLevelOfDetail>(0); |
break; |
- case base::trace_event::MemoryDumpArgs::LevelOfDetail::HIGH: |
- level = blink::WebMemoryDumpLevelOfDetail::High; |
+ case base::trace_event::MemoryDumpLevelOfDetail::DETAILED: |
+ level = static_cast<blink::WebMemoryDumpLevelOfDetail>(1); |
break; |
default: |
NOTREACHED(); |