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

Unified Diff: runtime/bin/file_patch.dart

Issue 12319148: dart:io | Change a remaining use of File.name to File.path, in samples. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Oops Created 7 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 | « no previous file | samples/build_dart/build.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/file_patch.dart
diff --git a/runtime/bin/file_patch.dart b/runtime/bin/file_patch.dart
index 63cb9157e4019ad4c3f45b5fb1f4cc1233da4f9b..2355f9d28be99f6f91ffaf27af783e920fc01fc7 100644
--- a/runtime/bin/file_patch.dart
+++ b/runtime/bin/file_patch.dart
@@ -34,3 +34,7 @@ patch class _RandomAccessFile {
/* patch */ static _length(int id) native "File_Length";
/* patch */ static _flush(int id) native "File_Flush";
}
+
+List<int> _makeUint8ListView(List<int> source, int from, int to) {
+ return new Uint8List.view(source.asByteArray(), from, to);
+}
« no previous file with comments | « no previous file | samples/build_dart/build.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698