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

Unified Diff: sky/framework/fn.dart

Issue 1092423003: [Effen] Reduce splashes when scrolling. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: fix comments from eseidel Created 5 years, 8 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/framework/components/scrollable.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/framework/fn.dart
diff --git a/sky/framework/fn.dart b/sky/framework/fn.dart
index e7ff992764452bb1a800b87056b9c618b26f41c3..850ffd2597e50dd5f55545757de57341cef03cc2 100644
--- a/sky/framework/fn.dart
+++ b/sky/framework/fn.dart
@@ -62,6 +62,7 @@ enum _SyncOperation { IDENTICAL, INSERTION, STATEFUL, STATELESS, REMOVAL }
abstract class UINode {
String _key;
UINode _parent;
+ UINode get parent => _parent;
sky.Node _root;
bool _defunct = false;
@@ -78,7 +79,9 @@ abstract class UINode {
void _remove() {
_defunct = true;
_root = null;
+ handleRemoved();
}
+ void handleRemoved() { }
int _nodeDepth;
void _ensureDepth() {
« no previous file with comments | « sky/framework/components/scrollable.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698