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; |
} |