mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Previously, we'd mocked out UpdateSemanticsEnabled using a simple lambda. Due to the embedder API's C ABI, we were unable to make use of lambda captures. This patch instead uses MOCK_ENGINE_PROC so we can make the test variable a local and rely on lambda capture. Issue: https://github.com/flutter/flutter/issues/77838