mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 08:15:31 +00:00
Bug 1488498
- expand comment in CompositorBridgeChild::Get(); r=nical
This commit is contained in:
parent
1f0a42def4
commit
b6cdb4cf71
@ -275,7 +275,9 @@ CompositorBridgeChild::InitForWidget(uint64_t aProcessToken,
|
||||
/*static*/ CompositorBridgeChild*
|
||||
CompositorBridgeChild::Get()
|
||||
{
|
||||
// This is only expected to be used in child processes.
|
||||
// This is only expected to be used in child processes. While the parent
|
||||
// process does have CompositorBridgeChild instances, it has _multiple_ (one
|
||||
// per window), and therefore there is no global singleton available.
|
||||
MOZ_ASSERT(!XRE_IsParentProcess());
|
||||
return sCompositorBridge;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user