зеркало из https://github.com/mozilla/gecko-dev.git
Bug 831313 - Bail out from rendering rather than aborting if we fail to allocate shared memory for a layers surface. r=roc
This commit is contained in:
Родитель
b44fe181ee
Коммит
f1b2fc7b09
|
@ -461,7 +461,8 @@ BasicShadowableThebesLayer::CreateBuffer(Buffer::ContentType aType,
|
|||
PR_snprintf(buf, buflen,
|
||||
"creating ThebesLayer 'back buffer' failed! width=%d, height=%d, type=%x",
|
||||
aSize.width, aSize.height, int(aType));
|
||||
NS_RUNTIMEABORT(buf);
|
||||
NS_ERROR(buf);
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
NS_ABORT_IF_FALSE(!mIsNewBuffer,
|
||||
|
|
Загрузка…
Ссылка в новой задаче