зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset bf93cbec0450 (bug 1112170) for OSX asserts/crashes.
This commit is contained in:
Родитель
3027d1493e
Коммит
41d5e05bb1
|
@ -162,7 +162,10 @@ ClientLayerManager::CreatePaintedLayerWithHint(PaintedLayerCreationHint aHint)
|
|||
#ifdef MOZ_B2G
|
||||
aHint == SCROLLABLE &&
|
||||
#endif
|
||||
gfxPlatform::GetPlatform()->UseTiling()) {
|
||||
gfxPlatform::GetPlatform()->UseTiling() &&
|
||||
(AsShadowForwarder()->GetCompositorBackendType() == LayersBackend::LAYERS_OPENGL ||
|
||||
AsShadowForwarder()->GetCompositorBackendType() == LayersBackend::LAYERS_D3D9 ||
|
||||
AsShadowForwarder()->GetCompositorBackendType() == LayersBackend::LAYERS_D3D11)) {
|
||||
nsRefPtr<ClientTiledPaintedLayer> layer = new ClientTiledPaintedLayer(this, aHint);
|
||||
CREATE_SHADOW(Painted);
|
||||
return layer.forget();
|
||||
|
|
Загрузка…
Ссылка в новой задаче