зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1153469: Ensure IOSurface isn't released before being composited. r=mattwoodrow
This commit is contained in:
Родитель
0b362ab86c
Коммит
0448a403bf
|
@ -16,7 +16,11 @@ MacIOSurfaceTextureClientOGL::MacIOSurfaceTextureClientOGL(ISurfaceAllocator* aA
|
|||
{}
|
||||
|
||||
MacIOSurfaceTextureClientOGL::~MacIOSurfaceTextureClientOGL()
|
||||
{}
|
||||
{
|
||||
if (mActor && mSurface) {
|
||||
KeepUntilFullDeallocation(MakeUnique<TKeepAlive<MacIOSurface>>(mSurface));
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
MacIOSurfaceTextureClientOGL::InitWith(MacIOSurface* aSurface)
|
||||
|
|
Загрузка…
Ссылка в новой задаче