| Index: Source/core/testing/Internals.h
|
| diff --git a/Source/core/testing/Internals.h b/Source/core/testing/Internals.h
|
| index a701bdd10c411c7dc94c77275b85b3e8ff49f2f1..8a7e39187c86c1e17537947ff5e67d88581ddc39 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"
|
| @@ -298,6 +299,9 @@ public:
|
|
|
| bool loseSharedGraphicsContext3D();
|
|
|
| + void garbageCollectV8WithoutContext();
|
| + void garbageCollectV8WithoutContextTimerFired(Timer<Internals>*);
|
| +
|
| private:
|
| explicit Internals(Document*);
|
| Document* contextDocument() const;
|
| @@ -311,6 +315,7 @@ private:
|
| RefPtr<InternalRuntimeFlags> m_runtimeFlags;
|
| RefPtr<ScrollingCoordinator> m_scrollingCoordinator;
|
| RefPtr<InternalProfilers> m_profilers;
|
| + Timer<Internals> m_gcWithoutContextTimer;
|
| };
|
|
|
| } // namespace WebCore
|
|
|