Chromium Code Reviews| Index: Source/core/dom/Microtask.h |
| diff --git a/Source/core/dom/Microtask.h b/Source/core/dom/Microtask.h |
| index ceec178f852b0e271744747402cbd9f1fe1bff81..b4db32f776883ee46d38af5204992aa9c9617d5d 100644 |
| --- a/Source/core/dom/Microtask.h |
| +++ b/Source/core/dom/Microtask.h |
| @@ -43,6 +43,10 @@ class CORE_EXPORT Microtask { |
| public: |
| static void performCheckpoint(); |
| static bool performingCheckpoint(v8::Isolate*); |
| + |
| + // TODO(jochen): Make all microtasks pass in the ScriptState they want to be |
|
haraken
2015/05/27 08:48:59
Yeah, this is worth doing.
|
| + // executed in. Until then, all microtasks have to keep track of their |
| + // ScriptState themselves. |
| static void enqueueMicrotask(PassOwnPtr<WebThread::Task>); |
| static void enqueueMicrotask(PassOwnPtr<Closure>); |