mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
This migrates Flutter's TestMetalContext and TestMetalSurface to ARC. Also migrates to using `sk_cfp::retain` (which retains the passed in pointer) rather than `sk_cfp::reset`, which only releases the previous pointer but doesn't retain the incoming pointer. No changes to tests since no semantic changes. Issue: https://github.com/flutter/flutter/issues/137801 [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style