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

Unified Diff: lib/src/utils/file_pool.dart

Issue 1947773002: Fix all strong-mode warnings. (Closed) Base URL: git@github.com:dart-lang/barback@master
Patch Set: Code review changes Created 4 years, 7 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 | « lib/src/utils/cancelable_future.dart ('k') | lib/src/utils/multiset.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/utils/file_pool.dart
diff --git a/lib/src/utils/file_pool.dart b/lib/src/utils/file_pool.dart
index 6a233379daa786e96ee4ad2deba3c4704516b030..c7f3d3931908a019f31850a7a947660c0465f405 100644
--- a/lib/src/utils/file_pool.dart
+++ b/lib/src/utils/file_pool.dart
@@ -9,7 +9,6 @@ import 'dart:convert';
import 'dart:io';
import 'package:pool/pool.dart';
-import 'package:stack_trace/stack_trace.dart';
import '../utils.dart';
@@ -35,7 +34,7 @@ class FilePool {
/// try again.
Stream<List<int>> openRead(String path) {
return futureStream(_pool.request().then((resource) {
- return Chain.track(new File(path).openRead()).transform(
+ return new File(path).openRead().transform(
new StreamTransformer.fromHandlers(handleDone: (sink) {
sink.close();
resource.release();
« no previous file with comments | « lib/src/utils/cancelable_future.dart ('k') | lib/src/utils/multiset.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698