mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-13 03:24:26 +00:00
Bug 1318854 - Null check the right pointer in RecvReadback. r=dvander
This commit is contained in:
parent
6c7788b023
commit
db4bd4aa1a
@ -198,7 +198,7 @@ VideoDecoderManagerParent::RecvReadback(const SurfaceDescriptorGPUVideo& aSD, Su
|
||||
}
|
||||
|
||||
RefPtr<SourceSurface> source = image->GetAsSourceSurface();
|
||||
if (!image) {
|
||||
if (!source) {
|
||||
*aResult = null_t();
|
||||
return IPC_OK();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user