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

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

Issue 1771353010: Finish completeSweep before shutting down V8 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 ed066d6f421beffe4863ff7dc50d00fcfe2679e2..22a5856ba5ce2724f18c05faa298779f27fb36f6 100644
--- a/third_party/WebKit/Source/platform/heap/ThreadState.h
+++ b/third_party/WebKit/Source/platform/heap/ThreadState.h
@@ -190,6 +190,7 @@ public:
static void attachMainThread();
static void detachMainThread();
+ void cleanupMainThread();
// Trace all persistent roots, called when marking the managed heap objects.
static void visitPersistentRoots(Visitor*);
@@ -430,11 +431,6 @@ public:
m_isolate = isolate;
m_traceDOMWrappers = traceDOMWrappers;
}
- void unregisterTraceDOMWrappers()
- {
- m_isolate = nullptr;
- m_traceDOMWrappers = nullptr;
- }
// By entering a gc-forbidden scope, conservative GCs will not
// be allowed while handling an out-of-line allocation request.

Powered by Google App Engine
This is Rietveld 408576698