mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Make BackgroundImpl optional in the GPU process. (bug 1294350 part 7, r=billm)
This commit is contained in:
parent
398cf04082
commit
44a97e25c9
@ -1761,8 +1761,10 @@ ChildImpl::SynchronouslyCreateForCurrentThread()
|
||||
void
|
||||
ChildImpl::CloseForCurrentThread()
|
||||
{
|
||||
MOZ_ASSERT(sThreadLocalIndex != kBadThreadLocalIndex,
|
||||
"BackgroundChild::Startup() was never called!");
|
||||
if (sThreadLocalIndex == kBadThreadLocalIndex) {
|
||||
return;
|
||||
}
|
||||
|
||||
auto threadLocalInfo =
|
||||
static_cast<ThreadLocalInfo*>(PR_GetThreadPrivate(sThreadLocalIndex));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user