mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
Backed out changeset 2467398cd958 (bug 1289251) for build bustage in WindowSurfaceX11.cpp. r=backout
This commit is contained in:
parent
0f39134046
commit
0007778c3f
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user