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 41526e2c4752d969ef217f79eadf6c48fdeced38..6f7b0d73fccce82644cbb5cc9c2f26085b995be0 100644 |
--- a/third_party/WebKit/Source/wtf/WTFThreadData.h |
+++ b/third_party/WebKit/Source/wtf/WTFThreadData.h |
@@ -35,6 +35,16 @@ |
#include "wtf/WTFExport.h" |
#include "wtf/text/StringHash.h" |
+namespace blink { |
+ |
+// TODO(hajimehoshi): CompressibleStringTable should be moved from blink to WTF |
+// namespace. Fix this forward declaration when we do this. |
+class CompressibleStringTable; |
+ |
+typedef void (*CompressibleStringTableDestructor)(CompressibleStringTable*); |
+ |
+} |
+ |
namespace WTF { |
class AtomicStringTable; |
@@ -54,16 +64,24 @@ public: |
return m_atomicStringTable; |
} |
+ blink::CompressibleStringTable* compressibleStringTable() |
+ { |
+ return m_compressibleStringTable; |
+ } |
+ |
ICUConverterWrapper& cachedConverterICU() { return *m_cachedConverterICU; } |
private: |
AtomicStringTable* m_atomicStringTable; |
AtomicStringTableDestructor m_atomicStringTableDestructor; |
+ blink::CompressibleStringTable* m_compressibleStringTable; |
+ blink::CompressibleStringTableDestructor m_compressibleStringTableDestructor; |
OwnPtr<ICUConverterWrapper> m_cachedConverterICU; |
static ThreadSpecific<WTFThreadData>* staticData; |
friend WTFThreadData& wtfThreadData(); |
friend class AtomicStringTable; |
+ friend class blink::CompressibleStringTable; |
}; |
inline WTFThreadData& wtfThreadData() |