Chromium Code Reviews| Index: lib/utf/utf16.dart |
| diff --git a/lib/utf/utf16.dart b/lib/utf/utf16.dart |
| index 680e4d2a36ea0a61f091b0b937b74dde57bbd81b..21cd23dd095c3320bb9acde9e761b5d7eaa137ae 100644 |
| --- a/lib/utf/utf16.dart |
| +++ b/lib/utf/utf16.dart |
| @@ -217,8 +217,7 @@ class IterableUtf16Decoder implements Iterable<int> { |
| final Function codeunitsProvider; |
|
Siggi Cherem (dart-lang)
2012/10/04 00:09:11
I was thinking of maybe adding a typedef for this
Jacob
2012/10/04 00:44:10
Added a couple typedefs. The Utf16 and Utf32 case
|
| final int replacementCodepoint; |
| - IterableUtf16Decoder._(_ListRangeIterator this.codeunitsProvider(), |
| - int this.replacementCodepoint); |
| + IterableUtf16Decoder._(this.codeunitsProvider, this.replacementCodepoint); |
| Utf16CodeUnitDecoder iterator() => |
| new Utf16CodeUnitDecoder.fromListRangeIterator(codeunitsProvider(), |
| @@ -235,8 +234,7 @@ class Utf16BytesToCodeUnitsDecoder implements _ListRangeIterator { |
| final int replacementCodepoint; |
| Utf16BytesToCodeUnitsDecoder._fromListRangeIterator( |
| - _ListRangeIterator this.utf16EncodedBytesIterator, |
| - int this.replacementCodepoint); |
| + this.utf16EncodedBytesIterator, this.replacementCodepoint); |
| factory Utf16BytesToCodeUnitsDecoder(List<int> utf16EncodedBytes, [ |
| int offset = 0, int length, |