| Index: Source/platform/heap/Visitor.cpp
|
| diff --git a/Source/platform/heap/Visitor.cpp b/Source/platform/heap/Visitor.cpp
|
| index 8cd7ffbc601a9e0c8cf9d8a9a7b0ecf44abfcbf5..6e1c337efe00f3f7652cd2c17e03787bb786821f 100644
|
| --- a/Source/platform/heap/Visitor.cpp
|
| +++ b/Source/platform/heap/Visitor.cpp
|
| @@ -40,7 +40,11 @@ namespace WebCore {
|
| void Visitor::checkGCInfo(const void* payload, const GCInfo* gcInfo)
|
| {
|
| FinalizedHeapObjectHeader::fromPayload(payload)->checkHeader();
|
| +#if !defined(COMPONENT_BUILD)
|
| + // On component builds we cannot compare the gcInfos as they are statically
|
| + // defined in each of the components and hence will not match.
|
| ASSERT(FinalizedHeapObjectHeader::fromPayload(payload)->gcInfo() == gcInfo);
|
| +#endif
|
| }
|
|
|
| #define DEFINE_VISITOR_CHECK_MARKER(Type) \
|
|
|