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

Unified Diff: sky/examples/rendering/sector_layout.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 | « no previous file | sky/sdk/lib/rendering/README.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/rendering/sector_layout.dart
diff --git a/sky/examples/rendering/sector_layout.dart b/sky/examples/rendering/sector_layout.dart
index b17b31b98cee3d9d61ebcfbfed6565fe313be2c4..faf519d179c7a24d6482d2b33c188de82917b9b1 100644
--- a/sky/examples/rendering/sector_layout.dart
+++ b/sky/examples/rendering/sector_layout.dart
@@ -65,7 +65,7 @@ class SectorParentData extends ParentData {
abstract class RenderSector extends RenderObject {
- void setParentData(RenderObject child) {
+ void setupParentData(RenderObject child) {
if (child.parentData is! SectorParentData)
child.parentData = new SectorParentData();
}
@@ -186,7 +186,7 @@ class RenderSectorRing extends RenderSectorWithChildren {
}
}
- void setParentData(RenderObject child) {
+ void setupParentData(RenderObject child) {
// TODO(ianh): avoid code duplication
if (child.parentData is! SectorChildListParentData)
child.parentData = new SectorChildListParentData();
@@ -296,7 +296,7 @@ class RenderSectorSlice extends RenderSectorWithChildren {
}
}
- void setParentData(RenderObject child) {
+ void setupParentData(RenderObject child) {
// TODO(ianh): avoid code duplication
if (child.parentData is! SectorChildListParentData)
child.parentData = new SectorChildListParentData();
@@ -396,7 +396,7 @@ class RenderBoxToRenderSectorAdapter extends RenderBox {
markNeedsLayout();
}
- void setParentData(RenderObject child) {
+ void setupParentData(RenderObject child) {
if (child.parentData is! SectorParentData)
child.parentData = new SectorParentData();
}
« no previous file with comments | « no previous file | sky/sdk/lib/rendering/README.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698