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

Unified Diff: third_party/WebKit/Source/platform/heap/ThreadState.h

Issue 2697703005: Remove ThreadHeap::m_threads (Closed)
Patch Set: temp Created 3 years, 10 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/platform/heap/ThreadState.h
diff --git a/third_party/WebKit/Source/platform/heap/ThreadState.h b/third_party/WebKit/Source/platform/heap/ThreadState.h
index 69b00073620713807a461f29da5cc4cde4f65459..522977f50139e45134dbd554413b56dd98d12406 100644
--- a/third_party/WebKit/Source/platform/heap/ThreadState.h
+++ b/third_party/WebKit/Source/platform/heap/ThreadState.h
@@ -158,9 +158,6 @@ class PLATFORM_EXPORT ThreadState {
ThreadState* m_state;
};
- void lockThreadAttachMutex();
- void unlockThreadAttachMutex();
-
static void attachMainThread();
// Associate ThreadState object with the current thread. After this
@@ -613,7 +610,7 @@ class PLATFORM_EXPORT ThreadState {
// and lazily construct ThreadState in it using placement new.
static uint8_t s_mainThreadStateStorage[];
- ThreadHeap* m_heap;
+ std::unique_ptr<ThreadHeap> m_heap;
ThreadIdentifier m_thread;
std::unique_ptr<PersistentRegion> m_persistentRegion;
BlinkGC::StackState m_stackState;
« no previous file with comments | « third_party/WebKit/Source/platform/heap/Heap.cpp ('k') | third_party/WebKit/Source/platform/heap/ThreadState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698