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

Unified Diff: Source/core/xmlhttprequest/XMLHttpRequest.h

Issue 1040073002: [bindings] Remove XMLHttpRequest CustomConstructor (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch for landing. Created 5 years, 9 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
Index: Source/core/xmlhttprequest/XMLHttpRequest.h
diff --git a/Source/core/xmlhttprequest/XMLHttpRequest.h b/Source/core/xmlhttprequest/XMLHttpRequest.h
index e7f4fd191bbb04af8289ec533203a3474016f491..fce08aa2919f52e118880fbe196378e8b19c72e8 100644
--- a/Source/core/xmlhttprequest/XMLHttpRequest.h
+++ b/Source/core/xmlhttprequest/XMLHttpRequest.h
@@ -51,6 +51,7 @@ class Document;
class DocumentParser;
class ExceptionState;
class ReadableStream;
+class ScriptState;
class SecurityOrigin;
class SharedBuffer;
class Stream;
@@ -71,7 +72,8 @@ class XMLHttpRequest final
WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(XMLHttpRequest);
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(XMLHttpRequest);
public:
- static PassRefPtrWillBeRawPtr<XMLHttpRequest> create(ExecutionContext*, PassRefPtr<SecurityOrigin> = nullptr);
+ static PassRefPtrWillBeRawPtr<XMLHttpRequest> create(ScriptState*);
+ static PassRefPtrWillBeRawPtr<XMLHttpRequest> create(ExecutionContext*);
virtual ~XMLHttpRequest();
// These exact numeric values are important because JS expects them.
« no previous file with comments | « Source/bindings/core/v8/custom/V8XMLHttpRequestCustom.cpp ('k') | Source/core/xmlhttprequest/XMLHttpRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698