mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
a5f3571770
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