зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1195051 - Part 4: Fix a null pointer crash happening after the destination node gets CCed
Landed on a CLOSED TREE
This commit is contained in:
Родитель
7291d73485
Коммит
5e993ab31c
|
@ -543,7 +543,12 @@ AudioDestinationNode::WindowAudioCaptureChanged()
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
bool captured = GetOwner()->GetAudioCaptured();
|
||||
nsCOMPtr<nsPIDOMWindow> ownerWindow = GetOwner();
|
||||
if (!ownerWindow) {
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
bool captured = ownerWindow->GetAudioCaptured();
|
||||
|
||||
if (captured != mCaptured) {
|
||||
if (captured) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче