void WebCoreObjCFinalizeOnMainThread(Class cls) { #if !defined(BUILDING_ON_TIGER) && !defined(DONT_FINALIZE_ON_MAIN_THREAD) objc_finalizeOnMainThread(cls); #endif // The reason we call initializeThreading here is that we'd like to have // threading initialized early, otherwise WebCoreObjCScheduleDeallocateOnMainThread // will crash WTF::initializeThreading(); }
void WebCoreObjCFinalizeOnMainThread(Class cls) { #if !defined(BUILDING_ON_TIGER) && !defined(DONT_FINALIZE_ON_MAIN_THREAD) objc_finalizeOnMainThread(cls); #endif }