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

Unified Diff: sky/sdk/lib/rendering/object.dart

Issue 1208293002: Rename setParentData to setupParentData since it's not a setter per se. (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/sdk/lib/rendering/flex.dart ('k') | sky/sdk/lib/rendering/stack.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/rendering/object.dart
diff --git a/sky/sdk/lib/rendering/object.dart b/sky/sdk/lib/rendering/object.dart
index 094796673bd773229e0d0bcfdf5756fb265a21d1..ba382e1c2a7a5ba263cbaee52170c3d7ba94bcdc 100644
--- a/sky/sdk/lib/rendering/object.dart
+++ b/sky/sdk/lib/rendering/object.dart
@@ -49,7 +49,7 @@ abstract class RenderObject extends AbstractNode implements HitTestTarget {
// node out, and any other nodes who happen to know exactly what
// kind of node that is.
dynamic parentData; // TODO(ianh): change the type of this back to ParentData once the analyzer is cleverer
- void setParentData(RenderObject child) {
+ void setupParentData(RenderObject child) {
// override this to setup .parentData correctly for your class
assert(!debugDoingLayout);
assert(!debugDoingPaint);
@@ -62,7 +62,7 @@ abstract class RenderObject extends AbstractNode implements HitTestTarget {
assert(!debugDoingLayout);
assert(!debugDoingPaint);
assert(child != null);
- setParentData(child);
+ setupParentData(child);
super.adoptChild(child);
markNeedsLayout();
}
« no previous file with comments | « sky/sdk/lib/rendering/flex.dart ('k') | sky/sdk/lib/rendering/stack.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698