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

Unified Diff: sky/sdk/lib/framework/components2/material.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
« no previous file with comments | « sky/sdk/lib/framework/components2/input.dart ('k') | sky/sdk/lib/framework/components2/menu_item.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/framework/components2/material.dart
diff --git a/sky/sdk/lib/framework/components2/material.dart b/sky/sdk/lib/framework/components2/material.dart
index 599a372a7024202a85d6893d7cd411747c3cdb45..1ee295a5a13b1366a37dd3cd2a9d4119c695b71a 100644
--- a/sky/sdk/lib/framework/components2/material.dart
+++ b/sky/sdk/lib/framework/components2/material.dart
@@ -18,8 +18,8 @@ class Material extends Component {
// new Style('box-shadow: ${Shadow[5]}'),
// ];
- UINode content;
- int level;
+ final UINode content;
+ final int level;
UINode build() {
// TODO(eseidel): Add a shadow.
« no previous file with comments | « sky/sdk/lib/framework/components2/input.dart ('k') | sky/sdk/lib/framework/components2/menu_item.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698