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

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

Issue 1153233002: Correctly set ScriptState in the image loader microtask (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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
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>);
« 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