mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 916714 - Fix a faulty assertion in TextureHost - r=jrmuizel
This commit is contained in:
parent
66d1472935
commit
34c7dd5686
@ -709,7 +709,7 @@ public:
|
||||
// see bug 865908 about fixing this.
|
||||
virtual void SetBuffer(SurfaceDescriptor* aBuffer, ISurfaceAllocator* aAllocator)
|
||||
{
|
||||
MOZ_ASSERT(!mBuffer, "Will leak the old mBuffer");
|
||||
MOZ_ASSERT(!mBuffer || mBuffer == aBuffer, "Will leak the old mBuffer");
|
||||
mBuffer = aBuffer;
|
||||
mDeAllocator = aAllocator;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user