Index: Source/core/dom/ExecutionContextTask.h |
diff --git a/Source/core/dom/ExecutionContextTask.h b/Source/core/dom/ExecutionContextTask.h |
index e4afe526693536e3856a2cb1ba5581e3c82c4b5a..c481372bf0912d19ba83181064d8dd822ed6d512 100644 |
--- a/Source/core/dom/ExecutionContextTask.h |
+++ b/Source/core/dom/ExecutionContextTask.h |
@@ -51,6 +51,8 @@ public: |
class CallClosureTask FINAL : public ExecutionContextTask { |
public: |
+ // Do not use |create| other than in createCrossThreadTask. |
+ // See http://crbug.com/390851 |
static PassOwnPtr<CallClosureTask> create(const Closure& closure) |
{ |
return adoptPtr(new CallClosureTask(closure)); |