Fabric: Proper invocation of `ensureunsealed` in `LayoutableShadowNode::layout`
Summary: Quite obvious. We have to check `sealable` flag of the child (not a parent) before mutating it. Reviewed By: mdvacca Differential Revision: D7526407 fbshipit-source-id: ce8e0d6446ff7eb23baee9c92f246d5e198fe377
This commit is contained in:
parent
cf036ee2fa
commit
db92b16e04
|
@ -69,7 +69,7 @@ void LayoutableShadowNode::layout(LayoutContext layoutContext) {
|
|||
continue;
|
||||
}
|
||||
|
||||
ensureUnsealed();
|
||||
child->ensureUnsealed();
|
||||
|
||||
// The assumption:
|
||||
// All `sealed` children were replaced with not-yet-sealed clones
|
||||
|
|
Loading…
Reference in New Issue