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

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

Issue 1181453003: Replace some 'as' operators with equivalent code that doesn't do any checks in production mode. (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/examples/raw/sector_layout.dart ('k') | sky/sdk/lib/framework/components2/scaffold.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5501ed76fca7d6d792a2eecc1ab46023e0ff407e..ca7399695c01c6fccb031029a0cbd56801a81da0 100644
--- a/sky/sdk/lib/framework/components2/ink_well.dart
+++ b/sky/sdk/lib/framework/components2/ink_well.dart
@@ -104,7 +104,7 @@ class InkWellWrapper extends OneChildRenderObjectWrapper {
InkWellWrapper({ UINode child, Object key })
: super(child: child, key: key);
- RenderInkWell get root => super.root as RenderInkWell;
+ RenderInkWell get root { RenderInkWell result = super.root; return result; }
RenderInkWell createNode() => new RenderInkWell();
}
« no previous file with comments | « sky/examples/raw/sector_layout.dart ('k') | sky/sdk/lib/framework/components2/scaffold.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698