зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1660886 - Release PWebGL when ClientWebGLContext is done with it. r=handyman,jld
Differential Revision: https://phabricator.services.mozilla.com/D88067
This commit is contained in:
Родитель
5b04a444c1
Коммит
d54712b964
|
@ -32,7 +32,13 @@ namespace mozilla {
|
|||
|
||||
webgl::NotLostData::NotLostData(ClientWebGLContext& _context)
|
||||
: context(_context) {}
|
||||
webgl::NotLostData::~NotLostData() = default;
|
||||
|
||||
webgl::NotLostData::~NotLostData() {
|
||||
if (outOfProcess) {
|
||||
const auto& pwebgl = outOfProcess->mWebGLChild;
|
||||
Unused << WebGLChild::Send__delete__(pwebgl.get());
|
||||
}
|
||||
}
|
||||
|
||||
// -
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче