mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-15 23:03:58 +08:00
Summary: Reducing the places where we directly access `ChoreographerCompat.getInstance()`. Since this is a singleton anyway, there was no need to pass this as an argument. In subsequent diffs, we will also ensure that `ChoreographerCompat.getInstance()` runs on the UI thread, so that the `Choreographer` it gets is based on the `Looper` of the main thread. Reviewed By: achen1 Differential Revision: D10136624 fbshipit-source-id: ad18f7b61eb8b05094aff310f2eb90eb225427dc