mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
Bug 1414853 - Ensure LayerManager's backend type is LAYERS_WR in CanUseAdvancedLayer since BasicCompositor might be used for remote extension process; r=sotaro
MozReview-Commit-ID: KzAUXKWJf58 --HG-- extra : rebase_source : 155d8b910e63b0c3cb2eb524053f4d45878ebffa
This commit is contained in:
parent
0dfb1ec446
commit
0ef9411420
@ -3118,7 +3118,7 @@ bool
|
||||
nsDisplayItem::CanUseAdvancedLayer(LayerManager* aManager) const
|
||||
{
|
||||
if (!gfxPrefs::LayersAdvancedBasicLayerEnabled() &&
|
||||
aManager && aManager->GetBackendType() == layers::LayersBackend::LAYERS_BASIC) {
|
||||
aManager && aManager->GetBackendType() != layers::LayersBackend::LAYERS_WR) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user