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

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

Issue 2084513002: Store raw pointers in ScriptWrappableVisitor markind deque (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 16825dce3a9344508e8aaec61ad32f41fa2ed837..8d402f797e6fec2e85890d336942dfc3e8623d3d 100644
--- a/third_party/WebKit/Source/platform/heap/ThreadState.h
+++ b/third_party/WebKit/Source/platform/heap/ThreadState.h
@@ -528,6 +528,13 @@ public:
v8::Isolate* isolate() const { return m_isolate; }
+ void invalidateDeadObjectsInWrappersMarkingDeque()
+ {
+ if (m_invalidateDeadObjectsInWrappersMarkingDeque) {
+ m_invalidateDeadObjectsInWrappersMarkingDeque(m_isolate);
+ }
+ }
+
private:
enum SnapshotType {
HeapSnapshot,

Powered by Google App Engine
This is Rietveld 408576698