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

Unified Diff: sdk/lib/io/websocket.dart

Issue 14696012: Make web-socket pass AutobanhTestSuite. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixes Created 7 years, 7 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
« no previous file with comments | « sdk/lib/io/string_transformer.dart ('k') | sdk/lib/io/websocket_impl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/websocket.dart
diff --git a/sdk/lib/io/websocket.dart b/sdk/lib/io/websocket.dart
index 5cbe278eb8dab2b9bc3a4c75e3724ee435ffde90..994fdec7dc4505bb3aa706fa859505fbd1966fec 100644
--- a/sdk/lib/io/websocket.dart
+++ b/sdk/lib/io/websocket.dart
@@ -34,9 +34,9 @@ abstract class WebSocketStatus {
* HttpServer server;
* server.listen((request) {
* if (...) {
- * WebSocketTransformer.upgrade(request).then(websocket) {
+ * WebSocketTransformer.upgrade(request).then((websocket) {
* ...
- * }
+ * });
* } else {
* // Do normal HTTP request processing.
* }
« no previous file with comments | « sdk/lib/io/string_transformer.dart ('k') | sdk/lib/io/websocket_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698