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

Unified Diff: pkg/polymer/lib/src/instance.dart

Issue 189213003: Refactoring two pieces of polymer: (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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: pkg/polymer/lib/src/instance.dart
diff --git a/pkg/polymer/lib/src/instance.dart b/pkg/polymer/lib/src/instance.dart
index 51fa85a3938ba792c14022c9c2fdd2d2fca7a617..e2183513cdc5c4065efd57c4764e8b4f4e6e76ed 100644
--- a/pkg/polymer/lib/src/instance.dart
+++ b/pkg/polymer/lib/src/instance.dart
@@ -651,7 +651,7 @@ abstract class Polymer implements Element, Observable, NodeBindExtension {
// TODO(sorvell): need to review, can do with ObserverTransform
var v = bindable.value;
if (v == null) {
- bindable.value = reflect(this).getField(name).reflectee;
+ bindable.value = smoke.read(this, name);
Siggi Cherem (dart-lang) 2014/03/06 22:45:23 oops - one lingering use of mirrors...
}
// TODO(jmesserly): this will create another subscription.

Powered by Google App Engine
This is Rietveld 408576698