OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 13 matching lines...) Expand all Loading... |
24 * | 24 * |
25 */ | 25 */ |
26 | 26 |
27 #include "config.h" | 27 #include "config.h" |
28 #include "core/platform/ThreadGlobalData.h" | 28 #include "core/platform/ThreadGlobalData.h" |
29 | 29 |
30 #include "core/dom/EventNames.h" | 30 #include "core/dom/EventNames.h" |
31 #include "core/inspector/InspectorCounters.h" | 31 #include "core/inspector/InspectorCounters.h" |
32 #include "core/loader/cache/CachedResourceRequestInitiators.h" | 32 #include "core/loader/cache/CachedResourceRequestInitiators.h" |
33 #include "core/platform/ThreadTimers.h" | 33 #include "core/platform/ThreadTimers.h" |
34 #include "wtf/MainThread.h" | |
35 #include "wtf/ThreadSpecific.h" | |
36 #include "wtf/Threading.h" | |
37 #include "wtf/UnusedParam.h" | |
38 #include "wtf/WTFThreadData.h" | 34 #include "wtf/WTFThreadData.h" |
39 #include "wtf/text/StringImpl.h" | 35 #include "wtf/text/StringImpl.h" |
40 | 36 |
41 using namespace WTF; | 37 using namespace WTF; |
42 | 38 |
43 namespace WebCore { | 39 namespace WebCore { |
44 | 40 |
45 ThreadSpecific<ThreadGlobalData>* ThreadGlobalData::staticData; | 41 ThreadSpecific<ThreadGlobalData>* ThreadGlobalData::staticData; |
46 | 42 |
47 ThreadGlobalData::ThreadGlobalData() | 43 ThreadGlobalData::ThreadGlobalData() |
(...skipping 18 matching lines...) Expand all Loading... |
66 } | 62 } |
67 | 63 |
68 void ThreadGlobalData::destroy() | 64 void ThreadGlobalData::destroy() |
69 { | 65 { |
70 m_inspectorCounters.clear(); | 66 m_inspectorCounters.clear(); |
71 m_eventNames.clear(); | 67 m_eventNames.clear(); |
72 m_threadTimers.clear(); | 68 m_threadTimers.clear(); |
73 } | 69 } |
74 | 70 |
75 } // namespace WebCore | 71 } // namespace WebCore |
OLD | NEW |