mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 15:23:51 +00:00
Bug 1574218 - Fix broken VRManagerChild::NotifyPresentationGenerationChanged event. r=kip
Fix broken VRManagerChild::NotifyPresentationGenerationChanged event. Differential Revision: https://phabricator.services.mozilla.com/D42164 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
b634df9005
commit
efb7b0fed5
@ -456,7 +456,7 @@ void VRManagerChild::FireDOMVRDisplayConnectEventsForLoadInternal(
|
||||
|
||||
void VRManagerChild::NotifyPresentationGenerationChangedInternal(
|
||||
uint32_t aDisplayID) {
|
||||
nsTArray<RefPtr<VRManagerEventObserver>> listeners;
|
||||
nsTArray<RefPtr<VRManagerEventObserver>> listeners(mListeners);
|
||||
for (auto& listener : listeners) {
|
||||
listener->NotifyPresentationGenerationChanged(aDisplayID);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user