Unverified Commit f205471a authored by Srujan Gaddam's avatar Srujan Gaddam Committed by GitHub

Use concrete factory constructor for DomXMLHttpRequest (#115094)

This code should be calling the factory method, not the synthetic
constructor.
parent 84357cbc
......@@ -18,7 +18,7 @@ typedef HttpRequestFactory = DomXMLHttpRequest Function();
/// Default HTTP client.
DomXMLHttpRequest _httpClient() {
return DomXMLHttpRequest();
return createDomXMLHttpRequest();
}
/// Creates an overridable factory function.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment