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

Unified Diff: Source/bindings/v8/V8PerIsolateData.h

Issue 142193004: Create & use microtask work queue (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ws Created 6 years, 11 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
« no previous file with comments | « no previous file | Source/bindings/v8/V8PerIsolateData.cpp » ('j') | Source/core/dom/Microtask.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/v8/V8PerIsolateData.h
diff --git a/Source/bindings/v8/V8PerIsolateData.h b/Source/bindings/v8/V8PerIsolateData.h
index 28dcd09b7f85cc4a91dbac6fc0f4f12257a0bcd6..b24e5a13159bd8da68d1a961bf222465d9aee9a1 100644
--- a/Source/bindings/v8/V8PerIsolateData.h
+++ b/Source/bindings/v8/V8PerIsolateData.h
@@ -104,6 +104,9 @@ public:
int incrementRecursionLevel() { return ++m_recursionLevel; }
int decrementRecursionLevel() { return --m_recursionLevel; }
+ bool performingCheckpoint() const { return m_performingCheckpoint; }
adamk 2014/01/29 22:58:24 I know it's horribly long, but can you make this p
rafaelw 2014/01/29 23:18:52 Done.
+ void setPerformingCheckpoint(bool performingCheckpoint) { m_performingCheckpoint = performingCheckpoint; }
+
#ifndef NDEBUG
int internalScriptRecursionLevel() const { return m_internalScriptRecursionLevel; }
int incrementInternalScriptRecursionLevel() { return ++m_internalScriptRecursionLevel; }
@@ -163,6 +166,7 @@ private:
#endif
OwnPtr<GCEventData> m_gcEventData;
bool m_shouldCollectGarbageSoon;
+ bool m_performingCheckpoint;
};
} // namespace WebCore
« no previous file with comments | « no previous file | Source/bindings/v8/V8PerIsolateData.cpp » ('j') | Source/core/dom/Microtask.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698