Index: third_party/WebKit/Source/platform/PartitionAllocMemoryDumpProvider.cpp |
diff --git a/third_party/WebKit/Source/platform/PartitionAllocMemoryDumpProvider.cpp b/third_party/WebKit/Source/platform/PartitionAllocMemoryDumpProvider.cpp |
index 9a00c3437898488d7d6c368fe206c5cd6ca1df0f..d269b2935139513e1d1452d0d4f7d7aa39f788ba 100644 |
--- a/third_party/WebKit/Source/platform/PartitionAllocMemoryDumpProvider.cpp |
+++ b/third_party/WebKit/Source/platform/PartitionAllocMemoryDumpProvider.cpp |
@@ -170,7 +170,7 @@ void PartitionAllocMemoryDumpProvider::onHeapProfilingEnabled(bool enabled) |
void PartitionAllocMemoryDumpProvider::insert(void* address, size_t size, const char* typeName) |
{ |
- base::trace_event::AllocationContext context = base::trace_event::AllocationContextTracker::GetContextSnapshot(); |
+ base::trace_event::AllocationContext context = base::trace_event::AllocationContextTracker::GetInstanceForCurrentThread()->GetContextSnapshot(); |
context.type_name = typeName; |
MutexLocker locker(m_allocationRegisterMutex); |
if (m_allocationRegister) |