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

Unified Diff: sky/sdk/lib/widgets/ink_well.dart

Issue 1173293005: Make UINode's key a String (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: nit 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/widgets/floating_action_button.dart ('k') | sky/sdk/lib/widgets/material.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/widgets/ink_well.dart
diff --git a/sky/sdk/lib/widgets/ink_well.dart b/sky/sdk/lib/widgets/ink_well.dart
index cc2b24743cfe4715c6e39d5bbbf421c28d43731c..063fe0e3e794b5053f970579bd1025eccd3192ca 100644
--- a/sky/sdk/lib/widgets/ink_well.dart
+++ b/sky/sdk/lib/widgets/ink_well.dart
@@ -100,10 +100,9 @@ class RenderInkWell extends RenderProxyBox {
}
class InkWell extends OneChildRenderObjectWrapper {
- InkWell({ UINode child, Object key })
- : super(child: child, key: key);
-
- RenderInkWell get root { RenderInkWell result = super.root; return result; }
+ InkWell({ String key, UINode child })
+ : super(key: key, child: child);
+ RenderInkWell get root => super.root;
RenderInkWell createNode() => new RenderInkWell();
}
« no previous file with comments | « sky/sdk/lib/widgets/floating_action_button.dart ('k') | sky/sdk/lib/widgets/material.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698