From 0dbd2a910f5b874be3ac87df0277175ac56fc5a8 Mon Sep 17 00:00:00 2001 From: Bill McCloskey Date: Wed, 5 Feb 2014 11:57:54 -0800 Subject: [PATCH] Bug 947045 - Fix breakage from bug 950235 (rs=evilpie) --- gfx/layers/composite/TextureHost.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gfx/layers/composite/TextureHost.cpp b/gfx/layers/composite/TextureHost.cpp index f205b28131e..e7e46856004 100644 --- a/gfx/layers/composite/TextureHost.cpp +++ b/gfx/layers/composite/TextureHost.cpp @@ -182,6 +182,10 @@ TextureHost::Create(const SurfaceDescriptor& aDesc, } else { return CreateTextureHostBasic(aDesc, aDeallocator, aFlags); } +#ifdef MOZ_X11 + case SurfaceDescriptor::TSurfaceDescriptorX11: + return CreateTextureHostBasic(aDesc, aDeallocator, aFlags); +#endif #ifdef XP_WIN case SurfaceDescriptor::TSurfaceDescriptorD3D9: case SurfaceDescriptor::TSurfaceDescriptorDIB: