We should consolidate all ThreadSpecific objects into a single structure.
Created attachment 26229 [details]
Comment on attachment 26229 [details]
> +#if PLATFORM(MAC)
> + delete m_cachedConverterTEC;
> +#if USE(ICU_UNICODE)
> + delete m_cachedConverterICU;
> + delete m_eventNames;
> + delete m_atomicStringTable;
> + ASSERT(m_emptyString->hasOneRef());
> + delete m_emptyString;
Why not use an OwnPtr?
Committed revision 39465.
With OwnPtr, I wouldn't be able to assert m_emptyString->hasOneRef(), which is a rather important check.