Index: Source/core/testing/Internals.h |
diff --git a/Source/core/testing/Internals.h b/Source/core/testing/Internals.h |
index dbd9ceccb7b623e87dc47b59531eb3382a6143c6..a3e0abf907c984d96b39b6a2ba45df71465f195a 100644 |
--- a/Source/core/testing/Internals.h |
+++ b/Source/core/testing/Internals.h |
@@ -33,6 +33,7 @@ |
#include "core/dom/ContextLifecycleObserver.h" |
#include "core/dom/NodeList.h" |
#include "core/page/scrolling/ScrollingCoordinator.h" |
+#include "platform/Timer.h" |
#include "wtf/ArrayBuffer.h" |
#include "wtf/PassRefPtr.h" |
#include "wtf/RefCounted.h" |
@@ -295,6 +296,9 @@ public: |
bool loseSharedGraphicsContext3D(); |
+ void garbageCollectV8WithoutContext(); |
+ void garbageCollectV8WithoutContextTimerFired(Timer<Internals>*); |
+ |
private: |
explicit Internals(Document*); |
Document* contextDocument() const; |
@@ -308,6 +312,7 @@ private: |
RefPtr<InternalRuntimeFlags> m_runtimeFlags; |
RefPtr<ScrollingCoordinator> m_scrollingCoordinator; |
RefPtr<InternalProfilers> m_profilers; |
+ Timer<Internals> m_gcWithoutContextTimer; |
}; |
} // namespace WebCore |