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

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

Issue 259503007: Flush microtask before event handlers are invoked (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added an expected.txt file. Created 6 years, 8 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 5bea815d0a98dad1e2d58875b41a32a0b9ae102c..c25ac4d660f02e5f04cb1a17ac95ff9e53a383d3 100644
--- a/Source/core/dom/Microtask.h
+++ b/Source/core/dom/Microtask.h
@@ -35,10 +35,15 @@
#include "wtf/Functional.h"
#include "wtf/PassOwnPtr.h"
+namespace v8 {
+class Isolate;
+}
+
namespace WebCore {
class Microtask {
public:
+ static void performCheckpoint(v8::Isolate*);
static void performCheckpoint();
static void enqueueMicrotask(PassOwnPtr<blink::WebThread::Task>);
static void enqueueMicrotask(const Closure&);

Powered by Google App Engine
This is Rietveld 408576698