Index: Source/platform/heap/Visitor.h |
diff --git a/Source/platform/heap/Visitor.h b/Source/platform/heap/Visitor.h |
index 1a50d167289ab6dbd5e7863c176fbfc1777adecb..9e0e4e17449e0b53a4ffa6f0caf52719b35f0712 100644 |
--- a/Source/platform/heap/Visitor.h |
+++ b/Source/platform/heap/Visitor.h |
@@ -384,6 +384,7 @@ private: |
bool m_isGlobalMarkingVisitor; |
}; |
+#if ENABLE(GC_PROFILING) |
template<typename T> |
struct TypenameStringTrait { |
static const String get() |
@@ -391,6 +392,7 @@ struct TypenameStringTrait { |
return WTF::extractTypeNameFromFunctionName(WTF::extractNameFunction<T>()); |
} |
}; |
+#endif |
} // namespace blink |