summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/ThreadGlobalData.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/ThreadGlobalData.h')
-rw-r--r--WebCore/platform/ThreadGlobalData.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/WebCore/platform/ThreadGlobalData.h b/WebCore/platform/ThreadGlobalData.h
index 3d73932..c17fbeb 100644
--- a/WebCore/platform/ThreadGlobalData.h
+++ b/WebCore/platform/ThreadGlobalData.h
@@ -49,6 +49,7 @@ namespace WebCore {
public:
ThreadGlobalData();
~ThreadGlobalData();
+ void destroy(); // called on workers to clean up the ThreadGlobalData before the thread exits.
EventNames& eventNames() { return *m_eventNames; }
ThreadTimers& threadTimers() { return *m_threadTimers; }