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

Unified Diff: utils/archive/utils.dart

Issue 10830191: Add ArchiveInputStream.readAll. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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
Index: utils/archive/utils.dart
diff --git a/utils/archive/utils.dart b/utils/archive/utils.dart
index 29987f0dfdf1a5e3f52454420170a3c2cc857f96..4e52c32de11769a147f6f5d4a072cbd23f7b9917 100644
--- a/utils/archive/utils.dart
+++ b/utils/archive/utils.dart
@@ -66,8 +66,11 @@ Uint8List bytesForC(List<int> input) {
* otherwise, [object] will never be collected and [callback] will never be
* called.
*/
-void attachFinalizer(object, void callback(peer), [peer])
- native "Archive_AttachFinalizer";
+void attachFinalizer(object, void callback(peer), [peer]) {}
+
+// TODO(nweiz): re-enable this once issue 4378 is fixed.
+// void attachFinalizer(object, void callback(peer), [peer])
+// native "Archive_AttachFinalizer";
/**
* A reference to a single value.

Powered by Google App Engine
This is Rietveld 408576698