From f68861dd170c4ee419e054edd6e2d2ae087bbe25 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Sun, 16 Mar 2014 15:34:14 -0400 Subject: [PATCH] Bug 984064 - Unbreak --enable-gstreamer=1.0 after bug 967364. r=khuey --- content/media/gstreamer/GStreamerAllocator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/media/gstreamer/GStreamerAllocator.cpp b/content/media/gstreamer/GStreamerAllocator.cpp index 4468267b5c4..6a2a6ed1a26 100644 --- a/content/media/gstreamer/GStreamerAllocator.cpp +++ b/content/media/gstreamer/GStreamerAllocator.cpp @@ -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(container->CreateImage(ImageFormat::PLANAR_YCBCR).get()); + mem->image = reinterpret_cast(container->CreateImage(ImageFormat::PLANAR_YCBCR).take()); mem->data = mem->image->AllocateAndGetNewBuffer(mem->memory.size); }