mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 21:28:55 +00:00
Bug 1139726 - Assert gfxPlatform::Init is called on the main thread. r=kats
This commit is contained in:
parent
693b85580a
commit
5729940b3c
@ -451,6 +451,7 @@ void RecordingPrefChanged(const char *aPrefName, void *aClosure)
|
||||
void
|
||||
gfxPlatform::Init()
|
||||
{
|
||||
MOZ_RELEASE_ASSERT(NS_IsMainThread());
|
||||
if (gEverInitialized) {
|
||||
NS_RUNTIMEABORT("Already started???");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user