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

Unified Diff: runtime/lib/weak_property.dart

Issue 10861041: Provide an Expando implementation for the VM. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: address review comments 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
« no previous file with comments | « runtime/lib/weak_property.cc ('k') | runtime/vm/bootstrap_natives.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/weak_property.dart
diff --git a/runtime/lib/weak_property.dart b/runtime/lib/weak_property.dart
index b3e4bfd23c3605a47d66dbb57ddc3d2d6ef9ffcf..dd43571e240835bf352d7e5394df07ad7e8859ca 100644
--- a/runtime/lib/weak_property.dart
+++ b/runtime/lib/weak_property.dart
@@ -7,9 +7,11 @@ class WeakProperty {
get key() => _getKey();
get value() => _getValue();
+ set value(value) => _setValue(value);
static WeakProperty _new(key, value) native "WeakProperty_new";
_getKey() native "WeakProperty_getKey";
_getValue() native "WeakProperty_getValue";
+ _setValue(value) native "WeakProperty_setValue";
}
« no previous file with comments | « runtime/lib/weak_property.cc ('k') | runtime/vm/bootstrap_natives.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698