Bug 1697607 - Enable widget.remote-look-and-feel everywhere. r=cmartin,geckoview-reviewers,agi

(And add a missing include while at it)

The biggest concern here is potential startup time penalty (and it
shouldn't be much anyways, if at all). In exchange, we avoid doing a lot
of this work in content processes.

Let's keep an eye on for regressions, but this sticking allows us to
simplify a lot of the lookandfeel code in follow-ups.

Differential Revision: https://phabricator.services.mozilla.com/D107926
This commit is contained in:
Emilio Cobos Álvarez 2021-03-11 21:20:54 +00:00
Родитель 6bb5c3f20a
Коммит 72b9dbf8f5
2 изменённых файлов: 1 добавлений и 4 удалений

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

@ -10730,11 +10730,7 @@
# correctly when `security.sandbox.content.headless` is enabled.
- name: widget.remote-look-and-feel
type: bool
#ifdef MOZ_WIDGET_GTK
value: true
#else
value: false
#endif
mirror: once
#---------------------------------------------------------------------------

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

@ -10,6 +10,7 @@
#include "gfxFont.h"
#include "MainThreadUtils.h"
#include "mozilla/Assertions.h"
#include "mozilla/ClearOnShutdown.h"
#include "mozilla/Result.h"
#include "mozilla/ResultExtensions.h"
#include "mozilla/StaticPrefs_widget.h"