-
weinig@apple.com authored
Reviewed by Oliver Hunt. Fix https://bugs.webkit.org/show_bug.cgi?id=21320 leaks of PropertyNameArrayData seen on buildbot - Fix RefPtr cycle by making PropertyNameArrayData's pointer back to the StructureID a weak pointer. * kjs/PropertyNameArray.h: (JSC::PropertyNameArrayData::setCachedStructureID): (JSC::PropertyNameArrayData::cachedStructureID): * kjs/StructureID.cpp: (JSC::StructureID::getEnumerablePropertyNames): (JSC::StructureID::clearEnumerationCache): (JSC::StructureID::~StructureID): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37300 268f45cc-cd09-0410-ab3c-d52691b4dbfc
6e56e4ab