Remove legacy parent pointer of ASLayoutSpec (#2987)

This commit is contained in:
Michael Schneider
2017-02-06 20:01:37 -08:00
committed by Adlai Holler
parent abd9851ddd
commit aedac5c299
2 changed files with 0 additions and 6 deletions

View File

@@ -1114,7 +1114,6 @@ ASLayoutElementFinalLayoutElementDefault
ASDisplayNodeAssert(layoutSpec.isMutable, @"Node %@ returned layout spec %@ that has already been used. Layout specs should always be regenerated.", self, layoutSpec);
}
layoutSpec.parent = self;
layoutSpec.isMutable = NO;
}

View File

@@ -25,11 +25,6 @@ NS_ASSUME_NONNULL_BEGIN
*/
@property (nonatomic, assign) BOOL isMutable;
/**
* Parent of the layout spec
*/
@property (nullable, nonatomic, weak) id<ASLayoutElement> parent;
/**
* First child within the children's array.
*