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

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

Issue 1146223008: Merge 196071 "Reland "Correctly set ScriptState in the image loa..." (Closed) Base URL: svn://svn.chromium.org/blink/branches/chromium/2403/
Patch Set: Created 5 years, 7 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/core/loader/ImageLoader.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Microtask.h
===================================================================
--- Source/core/dom/Microtask.h (revision 196329)
+++ Source/core/dom/Microtask.h (working copy)
@@ -43,6 +43,10 @@
public:
static void performCheckpoint();
static bool performingCheckpoint(v8::Isolate*);
+
+ // TODO(jochen): Make all microtasks pass in the ScriptState they want to be
+ // 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>);
« no previous file with comments | « no previous file | Source/core/loader/ImageLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698