diff --git a/widget/nsBaseWidget.cpp b/widget/nsBaseWidget.cpp index 4881cf2d7abd..d5ca88c57ca7 100644 --- a/widget/nsBaseWidget.cpp +++ b/widget/nsBaseWidget.cpp @@ -891,7 +891,8 @@ bool nsBaseWidget::IsSmallPopup() const { bool nsBaseWidget::ComputeShouldAccelerate() { return gfx::gfxConfig::IsEnabled(gfx::Feature::HW_COMPOSITING) && - WidgetTypeSupportsAcceleration(); + (WidgetTypeSupportsAcceleration() || + StaticPrefs::gfx_webrender_unaccelerated_widget_force()); } bool nsBaseWidget::UseAPZ() {