Remove AbstractNode from RenderObject and deprecate it (#128973)
It's time to say good bye to an old friend. It has outlived its usefulness. Farewell, AbstractNode! ð«¡
This commit is contained in:
committed by
GitHub
parent
fc8856eb80
commit
5ab5d82a39
@@ -320,7 +320,7 @@ mixin CommandHandlerFactory {
|
||||
SemanticsNode? node;
|
||||
while (renderObject != null && node == null) {
|
||||
node = renderObject.debugSemantics;
|
||||
renderObject = renderObject.parent as RenderObject?;
|
||||
renderObject = renderObject.parent;
|
||||
}
|
||||
if (node == null) {
|
||||
throw StateError('No semantics data found');
|
||||
|
||||
Reference in New Issue
Block a user