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

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

Issue 1100873003: Avoid checking Uint8List for non-Latin-1 characters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 8 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 | « sdk/lib/convert/ascii.dart ('k') | sdk/lib/convert/latin1.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/convert/chunked_conversion.dart
diff --git a/sdk/lib/convert/chunked_conversion.dart b/sdk/lib/convert/chunked_conversion.dart
index c9a874c56905f090b16d6aff070844544a6eaf5a..4c962eb62c589db90f57512002408d7f12e931be 100644
--- a/sdk/lib/convert/chunked_conversion.dart
+++ b/sdk/lib/convert/chunked_conversion.dart
@@ -54,15 +54,6 @@ class _SimpleCallbackSink<T> extends ChunkedConversionSink<T> {
void close() { _callback(_accumulated); }
}
-class _EventSinkAdapter<T> implements ChunkedConversionSink<T> {
- final EventSink<T> _sink;
-
- _EventSinkAdapter(this._sink);
-
- void add(T data) => _sink.add(data);
- void close() => _sink.close();
-}
-
/**
* This class converts implements the logic for a chunked conversion as a
* stream transformer.
« no previous file with comments | « sdk/lib/convert/ascii.dart ('k') | sdk/lib/convert/latin1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698