mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-17 22:32:51 +00:00
![Jim Chen](/assets/img/avatar_default.png)
Use the UI thread's tid for checking if we're on the UI thread in Gecko. This lets us get rid of `GeckoThread.registerUiThread`, in order to avoid a race where we check for UI thread before `registerUiThread` is called. MozReview-Commit-ID: 11gAWgx4UZo