mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Bug 1487825 - Don't WaitForBufferOwnership if the surface is already Available r=jgilbert
Reviewers: jgilbert Reviewed By: jgilbert Bug #: 1487825 Differential Revision: https://phabricator.services.mozilla.com/D4779 --HG-- extra : rebase_source : 19399c7074aa370e52c57ec2076d236aaba8f763 extra : histedit_source : ba4fbf696d726006f4e7b61fc5fa1d5bcd3bf80d
This commit is contained in:
parent
f8996dd01f
commit
e3fb802a4a
@ -268,7 +268,6 @@ SharedSurface_SurfaceTexture::Commit()
|
||||
void
|
||||
SharedSurface_SurfaceTexture::WaitForBufferOwnership()
|
||||
{
|
||||
MOZ_RELEASE_ASSERT(!mSurface->GetAvailable());
|
||||
mSurface->SetAvailable(true);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user