Rename setParentData to setupParentData since it's not a setter per se.

TBR=abarth

Review URL: https://codereview.chromium.org/1208293002.
This commit is contained in:
Hixie
2015-06-25 17:28:34 -07:00
parent 12b21997ca
commit d532b3fa7c

View File

@@ -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();
}
@@ -197,7 +197,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();
@@ -307,7 +307,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();
@@ -407,7 +407,7 @@ class RenderBoxToRenderSectorAdapter extends RenderBox {
markNeedsLayout();
}
void setParentData(RenderObject child) {
void setupParentData(RenderObject child) {
if (child.parentData is! SectorParentData)
child.parentData = new SectorParentData();
}