Index: Source/core/dom/Microtask.h |
diff --git a/Source/core/dom/Microtask.h b/Source/core/dom/Microtask.h |
index 27f72cbec01e5795593d3e545a3b5ca3e5c046fa..63e7b9589ab66dda45271d04591e39f219b587cb 100644 |
--- a/Source/core/dom/Microtask.h |
+++ b/Source/core/dom/Microtask.h |
@@ -33,9 +33,12 @@ |
namespace WebCore { |
+typedef void (*MicrotaskCallback)(); |
+ |
class Microtask { |
public: |
static void performCheckpoint(); |
+ static void enqueueMicrotask(MicrotaskCallback); |
private: |
explicit Microtask(); |