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

Unified Diff: sdk/lib/_internal/compiler/implementation/source_map_builder.dart

Issue 11418115: Fix Unicode issues in dart2js and dart2dart. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove accidental test expectation dupe Created 8 years, 1 month 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: sdk/lib/_internal/compiler/implementation/source_map_builder.dart
diff --git a/sdk/lib/_internal/compiler/implementation/source_map_builder.dart b/sdk/lib/_internal/compiler/implementation/source_map_builder.dart
index 98a1a01434c287867b67b80ef3cf7f0091f22233..498c9fbc4926ddcedf28bb5208c979642cfc64e7 100644
--- a/sdk/lib/_internal/compiler/implementation/source_map_builder.dart
+++ b/sdk/lib/_internal/compiler/implementation/source_map_builder.dart
@@ -58,7 +58,7 @@ class SourceMapBuilder {
for (String string in strings) {
if (!first) buffer.add(',');
buffer.add('"');
- writeJsonEscapedCharsOn(string.charCodes.iterator(), buffer, null);
+ writeJsonEscapedCharsOn(string, buffer);
buffer.add('"');
first = false;
}

Powered by Google App Engine
This is Rietveld 408576698