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

Unified Diff: Source/core/dom/Microtask.h

Issue 555163005: Deactivate IDBTransactions created within Microtasks (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Refactored fix Created 6 years, 3 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/dom/Microtask.h
diff --git a/Source/core/dom/Microtask.h b/Source/core/dom/Microtask.h
index a0fbdcb1e4b2bfa6d7e07bf9a780938b6153ed35..03a5b3225739f57b566021a4237913402bf7ba7c 100644
--- a/Source/core/dom/Microtask.h
+++ b/Source/core/dom/Microtask.h
@@ -34,12 +34,14 @@
#include "public/platform/WebThread.h"
#include "wtf/Functional.h"
#include "wtf/PassOwnPtr.h"
+#include <v8.h>
namespace blink {
class Microtask {
public:
static void performCheckpoint();
+ static bool performingCheckpoint(v8::Isolate*);
static void enqueueMicrotask(PassOwnPtr<WebThread::Task>);
static void enqueueMicrotask(const Closure&);

Powered by Google App Engine
This is Rietveld 408576698