mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 12:50:09 +00:00

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