Backed out changeset 2467398cd958 (bug 1289251) for build bustage in WindowSurfaceX11.cpp. r=backout

This commit is contained in:
Sebastian Hengst 2016-09-02 10:26:14 +02:00
parent 0f39134046
commit 0007778c3f

View File

@ -8,7 +8,6 @@
#ifdef MOZ_HAVE_SHMIMAGE
#include "mozilla/X11Util.h"
#include "mozilla/gfx/gfxVars.h"
#include "mozilla/ipc/SharedMemory.h"
#include "gfxPlatform.h"
#include "nsPrintfCString.h"
@ -151,7 +150,7 @@ nsShmImage::CreateImage(const IntSize& aSize)
mSize = aSize;
BackendType backend = gfxVars::ContentBackend();
BackendType backend = gfxPlatform::GetPlatform()->GetDefaultContentBackend();
mFormat = SurfaceFormat::UNKNOWN;
switch (mDepth) {