forked from mirrors/gecko-dev
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 |
||
|---|---|---|
| .. | ||
| moz.build | ||
| nsIWifiAccessPoint.idl | ||
| nsIWifiListener.idl | ||
| nsIWifiMonitor.idl | ||
| nsWifiAccessPoint.cpp | ||
| nsWifiAccessPoint.h | ||
| nsWifiMonitor.cpp | ||
| nsWifiMonitor.h | ||
| nsWifiScannerDBus.cpp | ||
| nsWifiScannerDBus.h | ||
| nsWifiScannerFreeBSD.cpp | ||
| nsWifiScannerMac.cpp | ||
| nsWifiScannerSolaris.cpp | ||
| nsWifiScannerWin.cpp | ||
| osx_corewlan.mm | ||
| osx_wifi.h | ||
| win_wifiScanner.cpp | ||
| win_wifiScanner.h | ||
| win_wlanLibrary.cpp | ||
| win_wlanLibrary.h | ||