gecko-dev/dom/geolocation
Nika Layzell 9d6bb19c23 Bug 1809753 - Part 4: Remove unnecessary GetMainThreadEventTarget, r=mccr8
This method always returned GetMainThreadSerialEventTarget(). This patch
switches all callers over to use that method instead.

We can't easily switch all calls to be calls to NS_GetMainThread(), as there is
no version of that method returning a bare nsIThread* instance.

I didn't introduce one, as we may want to add a lock around mMainThread in the
future, which would require removing nsThreadManager::GetMainThreadWeak. As
this method only returns nsISerialEventTarget, it method could remain
implemented, however, by returning a statically allocated fake event target
which forwards dispatches (and QIs to nsIThread) to the real main thread.

Differential Revision: https://phabricator.services.mozilla.com/D166608
2023-01-16 23:14:12 +00:00
..
Geolocation.cpp Bug 1809753 - Part 4: Remove unnecessary GetMainThreadEventTarget, r=mccr8 2023-01-16 23:14:12 +00:00
Geolocation.h Bug 1777574, automate CC zone handling, r=mccr8 2022-09-07 11:22:51 +00:00
GeolocationCoordinates.cpp Bug 1771948 - Cleanup dom/canvas dom/geolocation and some dom/media includes r=sylvestre 2022-06-05 09:23:00 +00:00
GeolocationCoordinates.h Bug 1777574, automate CC zone handling, r=mccr8 2022-09-07 11:22:51 +00:00
GeolocationPosition.cpp Bug 1771948 - Cleanup dom/canvas dom/geolocation and some dom/media includes r=sylvestre 2022-06-05 09:23:00 +00:00
GeolocationPosition.h Bug 1777574, automate CC zone handling, r=mccr8 2022-09-07 11:22:51 +00:00
GeolocationPositionError.cpp Bug 1805931, part 2 - Automated removal of uses of ROOT and UNROOT CC macros. r=smaug 2022-12-15 19:45:01 +00:00
GeolocationPositionError.h Bug 1777574, automate CC zone handling, r=mccr8 2022-09-07 11:22:51 +00:00
MLSFallback.cpp
MLSFallback.h
moz.build
nsGeoPositionIPCSerialiser.h