Index: Source/platform/heap/ThreadState.cpp |
diff --git a/Source/platform/heap/ThreadState.cpp b/Source/platform/heap/ThreadState.cpp |
index 74f82581ba3b4195684f071eb3ccf48abed9c8cb..d33a115b4e2878d09b0e660b6137b1e25010cbc7 100644 |
--- a/Source/platform/heap/ThreadState.cpp |
+++ b/Source/platform/heap/ThreadState.cpp |
@@ -1494,7 +1494,7 @@ void ThreadState::takeSnapshot(SnapshotType type) |
size_t totalDeadSize = 0; |
for (size_t gcInfoIndex = 1; gcInfoIndex <= GCInfoTable::gcInfoIndex(); ++gcInfoIndex) { |
String dumpName = classesDumpName + String::format("/%lu_", static_cast<unsigned long>(gcInfoIndex)); |
-#if ENABLE(GC_PROFILING) |
+#if ENABLE(DETAILED_MEMORY_INFRA) |
dumpName.append(Heap::gcInfo(gcInfoIndex)->className()); |
#endif |
WebMemoryAllocatorDump* classDump = BlinkGCMemoryDumpProvider::instance()->createMemoryAllocatorDumpForCurrentGC(dumpName); |