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

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

Issue 2667813002: Optimize StackTrace.current Eliminate redundant call to captureStackTrace and compute the stack tra… (Closed)
Patch Set: for discussion Created 3 years, 10 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/_internal/js_runtime/lib/core_patch.dart ('k') | sdk/lib/html/dart2js/html_dart2js.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/convert/line_splitter.dart
diff --git a/sdk/lib/convert/line_splitter.dart b/sdk/lib/convert/line_splitter.dart
index 4e3778de08a426093d8c7008e45df37b7509f49a..9fd3d5eac15506783303cbc0c272b19736c4b3f2 100644
--- a/sdk/lib/convert/line_splitter.dart
+++ b/sdk/lib/convert/line_splitter.dart
@@ -19,9 +19,7 @@ const int _CR = 13;
*/
class LineSplitter
- extends Converter<String, List<String>>/*=Object*/
- implements ChunkedConverter<String, List<String>, String, String>
- /*=StreamTransformer<String, String>*/ {
+ implements StreamTransformer<String, String> {
const LineSplitter();
@@ -84,7 +82,7 @@ class LineSplitter
return new _LineSplitterSink(sink);
}
- Stream/*<String>*/ bind(Stream<String> stream) {
+ Stream<String> bind(Stream<String> stream) {
return new Stream<String>.eventTransformed(
stream,
(EventSink<String> sink) => new _LineSplitterEventSink(sink));
« no previous file with comments | « sdk/lib/_internal/js_runtime/lib/core_patch.dart ('k') | sdk/lib/html/dart2js/html_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698