Revert "[framework] inline AbstractNode into RenderObject" (#104257)

This commit is contained in:
Casey Hillers
2022-05-20 11:43:11 -07:00
committed by GitHub
parent 52e19ef7ec
commit da105b2b24
22 changed files with 217 additions and 246 deletions

View File

@@ -308,7 +308,7 @@ mixin CommandHandlerFactory {
SemanticsNode? node;
while (renderObject != null && node == null) {
node = renderObject.debugSemantics;
renderObject = renderObject.parent;
renderObject = renderObject.parent as RenderObject?;
}
if (node == null)
throw StateError('No semantics data found');