Index: tools/dom/templates/html/impl/impl_XMLHttpRequest.darttemplate |
diff --git a/tools/dom/templates/html/impl/impl_XMLHttpRequest.darttemplate b/tools/dom/templates/html/impl/impl_XMLHttpRequest.darttemplate |
index 96cfca93e47a9ab93b4bda15e61b01901b773636..1994ff87aa0e75076cb64145b919cc49a8908355 100644 |
--- a/tools/dom/templates/html/impl/impl_XMLHttpRequest.darttemplate |
+++ b/tools/dom/templates/html/impl/impl_XMLHttpRequest.darttemplate |
@@ -80,7 +80,7 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS |
static Future<String> getString(String url, |
{bool withCredentials, void onProgress(ProgressEvent e)}) { |
return request(url, withCredentials: withCredentials, |
- onProgress: onProgress).then((xhr) => xhr.responseText); |
+ onProgress: onProgress).then((HttpRequest xhr) => xhr.responseText); |
} |
/** |