| Index: Source/platform/heap/Handle.h
|
| diff --git a/Source/platform/heap/Handle.h b/Source/platform/heap/Handle.h
|
| index a96f85f769d3a4b35681bb278525555e3618370f..e75353019edab3ca248a75c94a2129f58e634650 100644
|
| --- a/Source/platform/heap/Handle.h
|
| +++ b/Source/platform/heap/Handle.h
|
| @@ -344,7 +344,7 @@ public:
|
| void trace(Visitor* visitor)
|
| {
|
| COMPILE_ASSERT_IS_GARBAGE_COLLECTED(T, NonGarbageCollectedObjectInPersistent);
|
| -#if ENABLE(GC_TRACING)
|
| +#if GC_PROFILE_MARKING
|
| visitor->setHostInfo(this, m_tracingName.isEmpty() ? "Persistent" : m_tracingName);
|
| #endif
|
| visitor->mark(m_raw);
|
| @@ -400,7 +400,7 @@ public:
|
| T* get() const { return m_raw; }
|
|
|
| private:
|
| -#if ENABLE(GC_TRACING)
|
| +#if GC_PROFILE_MARKING
|
| void recordBacktrace()
|
| {
|
| if (m_raw)
|
| @@ -445,7 +445,7 @@ public:
|
|
|
| void trace(Visitor* visitor)
|
| {
|
| -#if ENABLE(GC_TRACING)
|
| +#if GC_PROFILE_MARKING
|
| visitor->setHostInfo(this, "PersistentHeapCollectionBase");
|
| #endif
|
| visitor->trace(*static_cast<Collection*>(this));
|
|
|