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

Unified Diff: third_party/WebKit/Source/wtf/WTFThreadData.h

Issue 2227933002: Revert CompressibleString (and its UMA) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address on Ilya's review Created 4 years, 4 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
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 e1fff54145954454dec1bf4860e118523bd884a3..672f1aaa847a95415e5ed20ef2019a72a79a867d 100644
--- a/third_party/WebKit/Source/wtf/WTFThreadData.h
+++ b/third_party/WebKit/Source/wtf/WTFThreadData.h
@@ -36,16 +36,6 @@
#include "wtf/text/StringHash.h"
#include <memory>
-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;
@@ -63,22 +53,14 @@ public:
return *m_atomicStringTable;
}
- blink::CompressibleStringTable* compressibleStringTable()
- {
- return m_compressibleStringTable;
- }
-
ICUConverterWrapper& cachedConverterICU() { return *m_cachedConverterICU; }
private:
std::unique_ptr<AtomicStringTable> m_atomicStringTable;
- blink::CompressibleStringTable* m_compressibleStringTable;
- blink::CompressibleStringTableDestructor m_compressibleStringTableDestructor;
std::unique_ptr<ICUConverterWrapper> m_cachedConverterICU;
static ThreadSpecific<WTFThreadData>* staticData;
friend WTFThreadData& wtfThreadData();
- friend class blink::CompressibleStringTable;
};
inline WTFThreadData& wtfThreadData()
« no previous file with comments | « third_party/WebKit/Source/platform/text/CompressibleString.cpp ('k') | third_party/WebKit/Source/wtf/WTFThreadData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698