-
oliver@apple.com authored
Reviewed by Geoffrey Garen. Make API callback objects use weak handles to run their finalizers https://bugs.webkit.org/show_bug.cgi?id=58389 Make the API object's private data struct act as a finalizer for an api object if the callback object has a API defined finalizer. * API/JSCallbackObject.cpp: (JSC::JSCallbackObjectData::finalize): * API/JSCallbackObject.h: * API/JSCallbackObjectFunctions.h: (JSC::::init): * heap/Handle.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@83661 268f45cc-cd09-0410-ab3c-d52691b4dbfc
f558d753