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

Unified Diff: samples/chat/chat_server_lib.dart

Issue 11263040: Make String.charCodes a getter. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update status files with co19 issue number. Created 8 years, 2 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 | « runtime/lib/string_base.dart ('k') | samples/logo/logo.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/chat/chat_server_lib.dart
diff --git a/samples/chat/chat_server_lib.dart b/samples/chat/chat_server_lib.dart
index 822e0894860ffddb7eb8610d49cf3800ef4af94b..923c128e04d0a09bd36fea4c009a6741127fde64 100644
--- a/samples/chat/chat_server_lib.dart
+++ b/samples/chat/chat_server_lib.dart
@@ -316,7 +316,7 @@ class IsolatedServer {
HttpResponse response,
String redirectPath) {
if (_redirectPage == null) {
- _redirectPage = redirectPageHtml.charCodes();
+ _redirectPage = redirectPageHtml.charCodes;
}
response.statusCode = HttpStatus.FOUND;
response.headers.set(
@@ -360,7 +360,7 @@ class IsolatedServer {
// Serve the not found page.
void _notFoundHandler(HttpRequest request, HttpResponse response) {
if (_notFoundPage == null) {
- _notFoundPage = notFoundPageHtml.charCodes();
+ _notFoundPage = notFoundPageHtml.charCodes;
}
response.statusCode = HttpStatus.NOT_FOUND;
response.headers.set("Content-Type", "text/html; charset=UTF-8");
« no previous file with comments | « runtime/lib/string_base.dart ('k') | samples/logo/logo.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698