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

Unified Diff: sky/sdk/lib/framework/components2/button.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/button.dart
diff --git a/sky/sdk/lib/framework/components2/button.dart b/sky/sdk/lib/framework/components2/button.dart
index 6a743b2c3cda943a44b1b865ee7d160419fd27b0..59add1743f0c86a658603b904e9e0148d59b2b60 100644
--- a/sky/sdk/lib/framework/components2/button.dart
+++ b/sky/sdk/lib/framework/components2/button.dart
@@ -19,8 +19,8 @@ class Button extends Component {
border-radius: 2px;'''
);
- UINode content;
- int level;
+ final UINode content;
+ final int level;
UINode build() {
return new StyleNode(
« no previous file with comments | « sky/sdk/lib/framework/components2/animated_component.dart ('k') | sky/sdk/lib/framework/components2/button_base.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698