Index: third_party/WebKit/Source/wtf/WTFThreadData.h |
diff --git a/third_party/WebKit/Source/wtf/WTFThreadData.h b/third_party/WebKit/Source/wtf/WTFThreadData.h |
index 7d9d991f657efc662ec8ff72a4c23c385e99c2e3..a3351de1a4782adffc7051de70bf835f2becd445 100644 |
--- a/third_party/WebKit/Source/wtf/WTFThreadData.h |
+++ b/third_party/WebKit/Source/wtf/WTFThreadData.h |
@@ -53,10 +53,14 @@ class WTF_EXPORT WTFThreadData { |
ICUConverterWrapper& cachedConverterICU() { return *m_cachedConverterICU; } |
+ ThreadIdentifier threadId() const { return m_threadId; } |
+ |
private: |
std::unique_ptr<AtomicStringTable> m_atomicStringTable; |
std::unique_ptr<ICUConverterWrapper> m_cachedConverterICU; |
+ ThreadIdentifier m_threadId; |
+ |
static ThreadSpecific<WTFThreadData>* staticData; |
friend WTFThreadData& wtfThreadData(); |
}; |