Index: third_party/WebKit/Source/modules/fetch/Response.h |
diff --git a/third_party/WebKit/Source/modules/fetch/Response.h b/third_party/WebKit/Source/modules/fetch/Response.h |
index 4f91a0d5bc5f35f8653b3305469aadb83313e945..b05e275346c74b3780d5bb0afe0f69e7cae869f5 100644 |
--- a/third_party/WebKit/Source/modules/fetch/Response.h |
+++ b/third_party/WebKit/Source/modules/fetch/Response.h |
@@ -30,6 +30,8 @@ class MODULES_EXPORT Response final : public Body { |
DEFINE_WRAPPERTYPEINFO(); |
WTF_MAKE_NONCOPYABLE(Response); |
public: |
+ // These "create" function which takes a ScriptState* must be called with |
+ // entering an appropriate V8 context. |
// From Response.idl: |
static Response* create(ScriptState*, ExceptionState&); |
static Response* create(ScriptState*, ScriptValue body, const Dictionary&, ExceptionState&); |
@@ -54,6 +56,7 @@ public: |
Headers* headers() const; |
// From Response.idl: |
+ // This function must be called with entering an appropriate V8 context. |
Response* clone(ScriptState*, ExceptionState&); |
// ActiveScriptWrappable |