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

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

Issue 2694173002: Remove thread-local weak processing (Closed)
Patch Set: 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 d131fcfeda66f94e6b210cfc78dea4c7548a5985..b890db4328f44f57b4c540b42142f1ba174885af 100644
--- a/third_party/WebKit/Source/platform/heap/ThreadState.h
+++ b/third_party/WebKit/Source/platform/heap/ThreadState.h
@@ -54,7 +54,6 @@ class Isolate;
namespace blink {
class BasePage;
-class CallbackStack;
class GarbageCollectedMixinConstructorMarker;
class PersistentNode;
class PersistentRegion;
@@ -390,10 +389,6 @@ class PLATFORM_EXPORT ThreadState {
Vector<size_t> deadSize;
};
- void pushThreadLocalWeakCallback(void*, WeakCallback);
- bool popAndInvokeThreadLocalWeakCallback(Visitor*);
- void threadLocalWeakProcessing();
-
size_t objectPayloadSizeForTesting();
void shouldFlushHeapDoesNotContainCache() {
@@ -666,8 +661,6 @@ class PLATFORM_EXPORT ThreadState {
bool m_shouldFlushHeapDoesNotContainCache;
GCState m_gcState;
- std::unique_ptr<CallbackStack> m_threadLocalWeakCallbackStack;
-
using PreFinalizerCallback = bool (*)(void*);
using PreFinalizer = std::pair<void*, PreFinalizerCallback>;

Powered by Google App Engine
This is Rietveld 408576698