Index: third_party/WebKit/Source/platform/heap/BlinkGCMemoryDumpProvider.h |
diff --git a/third_party/WebKit/Source/platform/heap/BlinkGCMemoryDumpProvider.h b/third_party/WebKit/Source/platform/heap/BlinkGCMemoryDumpProvider.h |
index b1c5ca473f0fe2c53994e71f36f4cc3138c13fbe..7f5b0ad2b35a50d165490985ddcbeba4559b2910 100644 |
--- a/third_party/WebKit/Source/platform/heap/BlinkGCMemoryDumpProvider.h |
+++ b/third_party/WebKit/Source/platform/heap/BlinkGCMemoryDumpProvider.h |
@@ -9,13 +9,12 @@ |
#include "platform/PlatformExport.h" |
#include "platform/heap/BlinkGC.h" |
#include "platform/wtf/Allocator.h" |
-#include "platform/wtf/ThreadingPrimitives.h" |
#include "platform/wtf/text/WTFString.h" |
namespace base { |
namespace trace_event { |
-class AllocationRegister; |
+class ShardedAllocationRegister; |
class MemoryAllocatorDump; |
} // namespace trace_event |
@@ -57,11 +56,10 @@ class PLATFORM_EXPORT BlinkGCMemoryDumpProvider final |
private: |
BlinkGCMemoryDumpProvider(); |
- Mutex allocation_register_mutex_; |
- std::unique_ptr<base::trace_event::AllocationRegister> allocation_register_; |
+ std::unique_ptr<base::trace_event::ShardedAllocationRegister> |
+ allocation_register_; |
std::unique_ptr<base::trace_event::ProcessMemoryDump> |
current_process_memory_dump_; |
- bool is_heap_profiling_enabled_; |
}; |
} // namespace blink |