Backed out changeset 86959499a5b8 (bug 856079) because of build bustage

This commit is contained in:
Ehsan Akhgari
2013-04-22 17:44:12 -04:00
parent 1f864af0a8
commit 521fbb33d7
43 changed files with 570 additions and 427 deletions

View File

@@ -9,7 +9,6 @@
#include "nsIWidget.h"
#include "gfxUtils.h"
#include "gfxPlatform.h"
#include "mozilla/layers/LayerManagerComposite.h"
namespace mozilla {
@@ -23,7 +22,7 @@ ContentClient::CreateContentClient(CompositableForwarder* aForwarder)
if (aForwarder->GetCompositorBackendType() != LAYERS_OPENGL) {
return nullptr;
}
if (LayerManagerComposite::SupportsDirectTexturing() ||
if (ShadowLayerManager::SupportsDirectTexturing() ||
PR_GetEnv("MOZ_FORCE_DOUBLE_BUFFERING")) {
return new ContentClientDoubleBuffered(aForwarder);
}