9e50790fec
TEST=confirmed that pkg/dds/test/extension_event_history_test and pkg/dds/test/logging_event_history_test pass with the changes in this CL and fail without them Fixes: https://github.com/dart-lang/sdk/issues/60672 Change-Id: Ie8c7e5908e80763e5d6e260fdb07f5fe65cb6232 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/429100 Reviewed-by: Ben Konyi <bkonyi@google.com> Commit-Queue: Derek Xu <derekx@google.com>