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

Unified Diff: runtime/lib/internal_patch.dart

Issue 1056353004: Add List.unmodifiable constructor. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove left-over debug coide. Created 5 years, 8 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: runtime/lib/internal_patch.dart
diff --git a/runtime/lib/internal_patch.dart b/runtime/lib/internal_patch.dart
index 0da1bc248c919a1dd236721730e4bf0c36eec590..0dcfcc8fed2a6991e85d0c4cd431fdc096234c07 100644
--- a/runtime/lib/internal_patch.dart
+++ b/runtime/lib/internal_patch.dart
@@ -5,6 +5,9 @@
patch List makeListFixedLength(List growableList)
native "Internal_makeListFixedLength";
+patch List makeFixedListUnmodifiable(List fixedLengthList)
+ native "Internal_makeFixedListUnmodifiable";
+
class VMLibraryHooks {
// Example: "dart:isolate _Timer._factory"
static var timerFactory;

Powered by Google App Engine
This is Rietveld 408576698