зеркало из https://github.com/mozilla/gecko-dev.git
Bug 916714 - Fix a faulty assertion in TextureHost - r=jrmuizel
This commit is contained in:
Родитель
016400d5a3
Коммит
91c9a1558d
|
@ -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;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче