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 0dbd7e7c6baad8383340a53c35bf04bf1b21fec1..f94527efda89b26dd6c4a49c7e37df0d93d3e201 100644 |
--- a/third_party/WebKit/Source/wtf/WTFThreadData.h |
+++ b/third_party/WebKit/Source/wtf/WTFThreadData.h |
@@ -38,9 +38,11 @@ |
namespace WTF { |
class AtomicStringTable; |
+class CompressibleStringTable; |
struct ICUConverterWrapper; |
typedef void (*AtomicStringTableDestructor)(AtomicStringTable*); |
+typedef void (*CompressibleStringTableDestructor)(CompressibleStringTable*); |
class WTF_EXPORT WTFThreadData { |
WTF_MAKE_NONCOPYABLE(WTFThreadData); |
@@ -53,16 +55,24 @@ public: |
return m_atomicStringTable; |
} |
+ CompressibleStringTable* compressibleStringTable() |
+ { |
+ return m_compressibleStringTable; |
+ } |
+ |
ICUConverterWrapper& cachedConverterICU() { return *m_cachedConverterICU; } |
private: |
AtomicStringTable* m_atomicStringTable; |
AtomicStringTableDestructor m_atomicStringTableDestructor; |
+ CompressibleStringTable* m_compressibleStringTable; |
+ CompressibleStringTableDestructor m_compressibleStringTableDestructor; |
OwnPtr<ICUConverterWrapper> m_cachedConverterICU; |
static ThreadSpecific<WTFThreadData>* staticData; |
friend WTFThreadData& wtfThreadData(); |
friend class AtomicStringTable; |
+ friend class CompressibleStringTable; |
}; |
inline WTFThreadData& wtfThreadData() |