mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-04 07:40:42 +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