Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1182)

Unified Diff: Source/core/platform/ThreadGlobalData.cpp

Issue 26890003: Remove ThreadLocalEventNames (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix build Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/platform/ThreadGlobalData.h ('k') | Source/core/speech/SpeechInputEvent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/ThreadGlobalData.cpp
diff --git a/Source/core/platform/ThreadGlobalData.cpp b/Source/core/platform/ThreadGlobalData.cpp
index 2d6b8da0f6e2218fd2f8be16c65ce0f481456614..a5396afc2d452d31b61357f4b9294b9ba9173c65 100644
--- a/Source/core/platform/ThreadGlobalData.cpp
+++ b/Source/core/platform/ThreadGlobalData.cpp
@@ -27,7 +27,6 @@
#include "config.h"
#include "core/platform/ThreadGlobalData.h"
-#include "core/events/ThreadLocalEventNames.h"
#include "core/inspector/InspectorCounters.h"
#include "platform/PlatformThreadData.h"
#include "wtf/MainThread.h"
@@ -43,8 +42,7 @@ namespace WebCore {
ThreadSpecific<ThreadGlobalData>* ThreadGlobalData::staticData;
ThreadGlobalData::ThreadGlobalData()
- : m_eventNames(adoptPtr(new ThreadLocalEventNames))
- , m_inspectorCounters(adoptPtr(new ThreadLocalInspectorCounters()))
+ : m_inspectorCounters(adoptPtr(new ThreadLocalInspectorCounters()))
{
// This constructor will have been called on the main thread before being called on
// any other thread, and is only called once per thread - this makes this a convenient
@@ -62,7 +60,6 @@ ThreadGlobalData::~ThreadGlobalData()
void ThreadGlobalData::destroy()
{
m_inspectorCounters.clear();
- m_eventNames.clear();
PlatformThreadData::current().destroy();
}
« no previous file with comments | « Source/core/platform/ThreadGlobalData.h ('k') | Source/core/speech/SpeechInputEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698