Commit 14fc0e5c authored by chunhtai's avatar chunhtai Committed by Flutter GitHub Bot

soft transition for the mustcallsuper in Element forgetChild (#49246)

parent 0fffa510
......@@ -3349,7 +3349,12 @@ abstract class Element extends DiagnosticableTree implements BuildContext {
/// The element will still have a valid parent when this is called. After this
/// is called, [deactivateChild] is called to sever the link to this object.
@protected
void forgetChild(Element child);
void forgetChild(Element child) {
// TODO(chunhtai): Creates empty body for subclass to call super. This will
// enable us to fix internal tests pro-actively for upcoming breaking
// change.
// https://github.com/flutter/flutter/issues/43780.
}
void _activateWithParent(Element parent, dynamic newSlot) {
assert(_debugLifecycleState == _ElementLifecycle.inactive);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment