Bug 1355417 - Enable "layers.advanced.button-foreground-layers" by default. r=mchang

This commit is contained in:
Ethan Lin
2017-04-12 16:47:21 +08:00
parent 28fa9720e0
commit eedf1cbf9c
2 changed files with 2 additions and 2 deletions

View File

@@ -352,7 +352,7 @@ nsDisplayButtonForeground::GetLayerState(nsDisplayListBuilder* aBuilder,
}
}
if (!br) {
if (!br || !br->CanCreateWebRenderCommands()) {
return LAYER_NONE;
}