object.dart: add comments tracing semantics code path
diff --git a/packages/flutter/lib/src/rendering/object.dart b/packages/flutter/lib/src/rendering/object.dart index ea4a837..d05106f 100644 --- a/packages/flutter/lib/src/rendering/object.dart +++ b/packages/flutter/lib/src/rendering/object.dart
@@ -1375,12 +1375,12 @@ _nodesNeedingSemantics.clear(); for (final RenderObject node in nodesToProcess) { if (node._needsSemanticsUpdate && node.owner == this) { - node._updateSemantics(); + node._updateSemantics(); // BARTEK: 0 } } _semanticsOwner!.sendSemanticsUpdate(); for (final PipelineOwner child in _children) { - child.flushSemantics(); + child.flushSemantics(); // BARTEK: 0?? } assert( _nodesNeedingSemantics.isEmpty, @@ -3798,7 +3798,7 @@ } /// Updates the semantic information of the render object. - void _updateSemantics() { + void _updateSemantics() { // BARTEK: 2 assert(_semanticsConfiguration.isSemanticBoundary || semanticsParent == null); if (_needsLayout) { // There's not enough information in this subtree to compute semantics. @@ -3841,7 +3841,7 @@ } /// Returns the semantics that this node would like to add to its parent. - _SemanticsFragment _getSemanticsForParent({ + _SemanticsFragment _getSemanticsForParent({ // BARTEK: 4 required bool mergeIntoParent, required bool blockUserActions, }) {