Bug 984064 - Unbreak --enable-gstreamer=1.0 after bug 967364. r=khuey

This commit is contained in:
Jan Beich 2014-03-16 15:34:14 -04:00
parent 88be9d21db
commit f68861dd17

View File

@ -60,7 +60,7 @@ moz_gfx_memory_reset(MozGfxMemory *mem)
mem->image->Release();
ImageContainer* container = ((MozGfxMemoryAllocator*) mem->memory.allocator)->reader->GetImageContainer();
mem->image = reinterpret_cast<PlanarYCbCrImage*>(container->CreateImage(ImageFormat::PLANAR_YCBCR).get());
mem->image = reinterpret_cast<PlanarYCbCrImage*>(container->CreateImage(ImageFormat::PLANAR_YCBCR).take());
mem->data = mem->image->AllocateAndGetNewBuffer(mem->memory.size);
}