mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 999736 - Add a null check in ContentHostTexture::Lock. r=bjacob
This commit is contained in:
parent
c7ba7fe917
commit
e440db1e50
@ -152,6 +152,9 @@ public:
|
||||
|
||||
virtual bool Lock() {
|
||||
MOZ_ASSERT(!mLocked);
|
||||
if (!mTextureHost) {
|
||||
return false;
|
||||
}
|
||||
if (!mTextureHost->Lock()) {
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user