зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1305320 - Check if the PVideoDecoderManagerChild enpoint is valid before using it. r=dvander
This commit is contained in:
Родитель
a28cb744aa
Коммит
204ff6e189
|
@ -52,9 +52,9 @@ VideoDecoderManagerChild::Initialize()
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: The above message should return an empty endpoint if there wasn't a GPU
|
if (!endpoint.IsValid()) {
|
||||||
// process. Unfortunately IPDL will assert in this case, so it can't actually
|
return;
|
||||||
// happen. Bug 1302009 is filed for fixing this.
|
}
|
||||||
|
|
||||||
sDecoderManager = new VideoDecoderManagerChild();
|
sDecoderManager = new VideoDecoderManagerChild();
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче