Use concrete factory constructor for DomXMLHttpRequest (#115094)
This code should be calling the factory method, not the synthetic constructor.
This commit is contained in:
parent
84357cbc4f
commit
f205471a69
@ -18,7 +18,7 @@ typedef HttpRequestFactory = DomXMLHttpRequest Function();
|
||||
|
||||
/// Default HTTP client.
|
||||
DomXMLHttpRequest _httpClient() {
|
||||
return DomXMLHttpRequest();
|
||||
return createDomXMLHttpRequest();
|
||||
}
|
||||
|
||||
/// Creates an overridable factory function.
|
||||
|
Loading…
x
Reference in New Issue
Block a user