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

Unified Diff: runtime/lib/string_patch.dart

Issue 15333006: Rewrite double.parse. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix typo, fix test, and rebase. 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
Index: runtime/lib/string_patch.dart
diff --git a/runtime/lib/string_patch.dart b/runtime/lib/string_patch.dart
index ceef2cb975aba944d5f16cbc98db63fbf70bb184..89dce3e56c87fd048a806f989cc01ae4952a8d2c 100644
--- a/runtime/lib/string_patch.dart
+++ b/runtime/lib/string_patch.dart
@@ -514,7 +514,7 @@ class _OneByteString extends _StringBase implements String {
bool _isWhitespace(int codePoint) {
return
(codePoint == 32) || // Space.
- ((9 <= codePoint) && (codePoint <= 13)) || // CR, LF, TAB, etc.
+ ((9 <= codePoint) && (codePoint <= 13)) || // CR, LF, TAB, etc.
(codePoint == 0xA0); // NBSP.
}

Powered by Google App Engine
This is Rietveld 408576698