[Bug 774505] Don't include Layers.h everywhere r=cjones
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user