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

Unified Diff: sky/sdk/lib/framework/components2/ink_well.dart

Issue 1174023003: Remove one more use of mirrors: Components now have to explicitly sync their fields. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 6 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: sky/sdk/lib/framework/components2/ink_well.dart
diff --git a/sky/sdk/lib/framework/components2/ink_well.dart b/sky/sdk/lib/framework/components2/ink_well.dart
index f1677a404cb6c55c20fb9dc8c924ecebd4ef5ef9..3eb87f5d3100a3fa29cb6c67130d5c7a96dec399 100644
--- a/sky/sdk/lib/framework/components2/ink_well.dart
+++ b/sky/sdk/lib/framework/components2/ink_well.dart
@@ -115,6 +115,11 @@ class InkWell extends Component {
List<UINode> children;
+ void syncFields(InkWell source) {
+ children = source.children;
+ super.syncFields(source);
+ }
+
UINode build() {
return new InkWellWrapper(
child: new FlexContainer(

Powered by Google App Engine
This is Rietveld 408576698