[Bug 774505] Don't include Layers.h everywhere r=cjones

This commit is contained in:
David Zbarsky
2012-07-18 12:31:40 -04:00
parent 37072fc996
commit 7f0b27a36b
50 changed files with 181 additions and 158 deletions

View File

@@ -1133,7 +1133,7 @@ BasicShadowLayerManager::CreateThebesLayer()
{
NS_ASSERTION(InConstruction(), "Only allowed in construction phase");
#ifdef FORCE_BASICTILEDTHEBESLAYER
if (HasShadowManager() && GetParentBackendType() == LayerManager::LAYERS_OPENGL) {
if (HasShadowManager() && GetParentBackendType() == LAYERS_OPENGL) {
// BasicTiledThebesLayer doesn't support main
// thread compositing so only return this layer
// type if we have a shadow manager.