Bug 1599673 - Add webrender compositor enabled log to Decision Log in about:support r=nical,jrmuizel

FeatureState does not add a log when it is enabled by default. But we want it for Feature::WEBRENDER_COMPOSITOR.

Differential Revision: https://phabricator.services.mozilla.com/D56848

--HG--
extra : moz-landing-system : lando
This commit is contained in:
sotaro 2019-12-12 22:16:35 +00:00
Родитель e38327a944
Коммит e3996a0d0f
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -3326,6 +3326,9 @@ void gfxPlatform::InitWebRenderConfig() {
if (gfx::gfxConfig::IsEnabled(gfx::Feature::WEBRENDER_COMPOSITOR)) {
gfxVars::SetUseWebRenderCompositor(true);
// Call UserEnable() only for reporting to Decision Log.
// If feature is enabled by default. It is not reported to Decision Log.
featureComp.UserEnable("Enabled");
}
// Set features that affect WR's RendererOptions