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

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

Issue 2623273007: Fast path for ThreadSpecific for main thread on TLS-slow platforms (Closed)
Patch Set: [WIP] Fast path for currentThread() for main thread on TLS-slow platforms Created 3 years, 11 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/AtomicStringTable.h
diff --git a/third_party/WebKit/Source/wtf/text/AtomicStringTable.h b/third_party/WebKit/Source/wtf/text/AtomicStringTable.h
index de0dcb77934dd5d5cba66bced6078707e0a4766b..fa925e016238d2da87fc133a62d7cc4a0afb247d 100644
--- a/third_party/WebKit/Source/wtf/text/AtomicStringTable.h
+++ b/third_party/WebKit/Source/wtf/text/AtomicStringTable.h
@@ -26,7 +26,7 @@ class WTF_EXPORT AtomicStringTable final {
// Gets the shared table for the current thread.
static AtomicStringTable& instance() {
- return wtfThreadData().getAtomicStringTable();
+ return WTFThreadData::current().getAtomicStringTable();
}
// Used by system initialization to preallocate enough storage for all of

Powered by Google App Engine
This is Rietveld 408576698