diff --git a/sdk/lib/framework/layout.dart b/sdk/lib/framework/layout.dart index 3771a2e8ff4..2ade1e97090 100644 --- a/sdk/lib/framework/layout.dart +++ b/sdk/lib/framework/layout.dart @@ -74,7 +74,7 @@ abstract class RenderNode extends AbstractNode { // node out, and any other nodes who happen to know exactly what // kind of node that is. ParentData parentData; - void setupPos(RenderNode child) { + void setParentData(RenderNode child) { // override this to setup .parentData correctly for your class if (child.parentData is! ParentData) child.parentData = new ParentData(); @@ -83,7 +83,7 @@ abstract class RenderNode extends AbstractNode { void adoptChild(RenderNode child) { // only for use by subclasses // call this whenever you decide a node is a child assert(child != null); - setupPos(child); + setParentData(child); super.adoptChild(child); } void dropChild(RenderNode child) { // only for use by subclasses @@ -311,7 +311,7 @@ class RenderCSSContainer extends RenderCSS with ContainerRenderNodeMixin