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

Unified Diff: third_party/WebKit/Source/wtf/text/AtomicString.h

Issue 1370113006: AtomicStringTable should not be initialized lazily Base URL: https://chromium.googlesource.com/chromium/src.git@AtomitStringTable
Patch Set: Created 5 years, 2 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/text/AtomicString.h
diff --git a/third_party/WebKit/Source/wtf/text/AtomicString.h b/third_party/WebKit/Source/wtf/text/AtomicString.h
index e90a664e370ea9bf005d58da335beef49eae28dc..6c0dfb230e30b65585e9c470ef82ed45f715627a 100644
--- a/third_party/WebKit/Source/wtf/text/AtomicString.h
+++ b/third_party/WebKit/Source/wtf/text/AtomicString.h
@@ -29,6 +29,7 @@
namespace WTF {
struct AtomicStringHash;
+class AtomicStringTable;
class WTF_EXPORT AtomicString {
public:
@@ -180,6 +181,10 @@ private:
#endif
static AtomicString fromUTF8Internal(const char*, const char*);
+
+ static AtomicStringTable* createAtomicStringTable();
tkent 2015/10/04 22:47:47 I wonder why createAtomicStringTable and destroyAt
+ static void destroyAtomicStringTable(AtomicStringTable*);
+ friend class WTFThreadData;
};
inline bool operator==(const AtomicString& a, const AtomicString& b) { return a.impl() == b.impl(); }
« no previous file with comments | « third_party/WebKit/Source/wtf/WTFThreadData.cpp ('k') | third_party/WebKit/Source/wtf/text/AtomicString.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698