Bug 999736 - Add a null check in ContentHostTexture::Lock. r=bjacob

This commit is contained in:
Nicolas Silva 2014-04-23 14:19:29 +02:00
parent c7ba7fe917
commit e440db1e50

View File

@ -152,6 +152,9 @@ public:
virtual bool Lock() {
MOZ_ASSERT(!mLocked);
if (!mTextureHost) {
return false;
}
if (!mTextureHost->Lock()) {
return false;
}