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

Unified Diff: sdk/lib/convert/latin1.dart

Issue 23245018: Add missing parameter to function call in latin1.dart. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/convert/latin1.dart
diff --git a/sdk/lib/convert/latin1.dart b/sdk/lib/convert/latin1.dart
index 1e0e8f9672c112512b8f0c5d14b17235e7e1fe57..b09a987bfc6fd8d8f728e1d78ba8f6ed8671b38f 100644
--- a/sdk/lib/convert/latin1.dart
+++ b/sdk/lib/convert/latin1.dart
@@ -249,7 +249,7 @@ class _Latin1DecoderSink extends ByteConversionSinkBase {
for (int i = start; i < end; i++) {
if ((source[i] & ~0xFF) != 0) {
if (_allowInvalid) {
- if (i > start) _addSliceToSink(source, start, i);
+ if (i > start) _addSliceToSink(source, start, i, false);
// Add UTF-8 encoding of U+FFFD.
_addSliceToSink(const[0xFFFD], 0, 1, false);
start = i + 1;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698