Fix wrong type in HTTP library

R=ager@google.com

BUG=none
TEST=none

Review URL: https://chromiumcodereview.appspot.com//10375051

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7408 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
sgjesse@google.com
2012-05-08 09:52:46 +00:00
parent 42295eaa60
commit 4eea8aac7e
+1 -1
View File
@@ -976,7 +976,7 @@ class _HttpServer implements HttpServer {
_closeServer = false;
}
addRequestHandler(bool matcher(String path),
addRequestHandler(bool matcher(HttpRequest request),
void handler(HttpRequest request, HttpResponse response)) {
_handlers.add(new _RequestHandlerRegistration(matcher, handler));
}