mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Previously we were rounding event time stamps to the nearest second because ftl::TimeDelta::FromSeconds takes an integer number of seconds. Now we just convert directly from floating point seconds to microseconds to avoid losing precision. Fixes https://github.com/flutter/flutter/issues/6313