diff options
Diffstat (limited to 'Source/JavaScriptCore/runtime/JSGlobalThis.cpp')
-rw-r--r-- | Source/JavaScriptCore/runtime/JSGlobalThis.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/JavaScriptCore/runtime/JSGlobalThis.cpp b/Source/JavaScriptCore/runtime/JSGlobalThis.cpp index b2bbae5d7..a3f2e7785 100644 --- a/Source/JavaScriptCore/runtime/JSGlobalThis.cpp +++ b/Source/JavaScriptCore/runtime/JSGlobalThis.cpp @@ -44,8 +44,7 @@ void JSGlobalThis::visitChildren(JSCell* cell, SlotVisitor& visitor) ASSERT(thisObject->structure()->typeInfo().overridesVisitChildren()); Base::visitChildren(thisObject, visitor); - if (thisObject->m_unwrappedObject) - visitor.append(&thisObject->m_unwrappedObject); + visitor.append(&thisObject->m_unwrappedObject); } void JSGlobalThis::setUnwrappedObject(JSGlobalData& globalData, JSGlobalObject* globalObject) |