Index: third_party/WebKit/Source/modules/fetch/Request.h |
diff --git a/third_party/WebKit/Source/modules/fetch/Request.h b/third_party/WebKit/Source/modules/fetch/Request.h |
index 57a9f3ba6273274223c3899585deb44d4d083ecb..569b84fabb9318265a9daea5a9aefe9fd2fbc16d 100644 |
--- a/third_party/WebKit/Source/modules/fetch/Request.h |
+++ b/third_party/WebKit/Source/modules/fetch/Request.h |
@@ -31,6 +31,8 @@ class MODULES_EXPORT Request final : public Body { |
DEFINE_WRAPPERTYPEINFO(); |
WTF_MAKE_NONCOPYABLE(Request); |
public: |
+ // These "create" function must be called with entering an appropriate |
+ // V8 context. |
// From Request.idl: |
static Request* create(ScriptState*, const RequestInfo&, const Dictionary&, ExceptionState&); |
@@ -54,6 +56,7 @@ public: |
String integrity() const; |
// From Request.idl: |
+ // This function must be called with entering an appropriate V8 context. |
Request* clone(ScriptState*, ExceptionState&); |
FetchRequestData* passRequestData(ScriptState*); |