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

Unified Diff: sky/sdk/lib/framework/fn2.dart

Issue 1174683005: Remove Component.getRoot(), since we don't use it anymore. (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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/framework/fn2.dart
diff --git a/sky/sdk/lib/framework/fn2.dart b/sky/sdk/lib/framework/fn2.dart
index 40cc835fbc6be9607ae4ab2155fadafef0f79ae5..4c0b3e6d36680637a0d3681c110d84cd419726cd 100644
--- a/sky/sdk/lib/framework/fn2.dart
+++ b/sky/sdk/lib/framework/fn2.dart
@@ -888,10 +888,6 @@ abstract class Component extends UINode {
fn();
}
- // TODO(rafaelw): It seems wrong to expose DOM at all. This is presently
- // needed to get sizing info.
- RenderObject getRoot() => root;
-
void remove() {
assert(_built != null);
assert(root != null);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698