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 01a6d614fbecf5e237be2406fa188a4b9bcec2ac..d788a093d4e48122a5d8a9c02f1c0610fae43da8 100644 |
--- a/third_party/WebKit/Source/platform/heap/ThreadState.h |
+++ b/third_party/WebKit/Source/platform/heap/ThreadState.h |
@@ -336,6 +336,9 @@ public: |
void scheduleV8FollowupGCIfNeeded(V8GCType); |
void schedulePageNavigationGCIfNeeded(float estimatedRemovalRatio); |
void schedulePageNavigationGC(); |
+ void v8ContextCreated(); |
+ void v8ContextDisposed(); |
+ |
void scheduleGCIfNeeded(); |
void setGCState(GCState); |
GCState gcState() const; |
@@ -787,6 +790,7 @@ private: |
size_t m_gcForbiddenCount; |
int m_persistentAllocated; |
int m_persistentFreed; |
+ int m_disposedV8ContextCount; |
BaseHeap* m_heaps[NumberOfHeaps]; |
int m_vectorBackingHeapIndex; |