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

Unified Diff: sdk/lib/io/common.dart

Issue 1974043002: Revert "Fix remaining strong-mode warnings and errors in dart:io." (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: 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 | « sdk/lib/io/bytes_builder.dart ('k') | sdk/lib/io/crypto.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/common.dart
diff --git a/sdk/lib/io/common.dart b/sdk/lib/io/common.dart
index 6258bcf9090372ec7f3b8b97dc5456bf464ede74..ea355801147789b965aafbea16516674ce4680f8 100644
--- a/sdk/lib/io/common.dart
+++ b/sdk/lib/io/common.dart
@@ -90,7 +90,7 @@ class OSError {
// Object for holding a buffer and an offset.
class _BufferAndStart {
- List<int> buffer;
+ List buffer;
int start;
_BufferAndStart(this.buffer, this.start);
}
@@ -100,7 +100,7 @@ class _BufferAndStart {
// All other lists are first copied into a Uint8List. This has the added
// benefit that it is faster to access from the C code as well.
_BufferAndStart _ensureFastAndSerializableByteData(
- List<int> buffer, int start, int end) {
+ List buffer, int start, int end) {
if (buffer is Uint8List || buffer is Int8List) {
return new _BufferAndStart(buffer, start);
}
« no previous file with comments | « sdk/lib/io/bytes_builder.dart ('k') | sdk/lib/io/crypto.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698