Chromium Code Reviews| 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..c2c26e9e95ac469c263b2c0692f4d0e900da8069 100644 |
| --- a/third_party/WebKit/Source/wtf/WTFThreadData.h |
| +++ b/third_party/WebKit/Source/wtf/WTFThreadData.h |
| @@ -35,6 +35,14 @@ |
| #include "wtf/WTFExport.h" |
| #include "wtf/text/StringHash.h" |
| +namespace blink { |
|
haraken
2016/01/19 07:43:36
Add a TODO and mention that the blink namespace sh
hajimehoshi
2016/01/19 10:19:21
Done.
|
| + |
| +class CompressibleStringTable; |
| + |
| +typedef void (*CompressibleStringTableDestructor)(CompressibleStringTable*); |
| + |
| +} |
| + |
| namespace WTF { |
| class AtomicStringTable; |
| @@ -53,16 +61,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() |