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

Unified Diff: Source/core/testing/Internals.h

Issue 26792002: Reland: Reland: Implement new Blink IDL attribute [SetReference] (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 7 years, 2 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: 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

Powered by Google App Engine
This is Rietveld 408576698