tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 8375c2e9278a9ee7735c4aeb5969fd4bfe741018
parent 61bcdfc7acf3e7e9e3fea382dfd6806fbc375b68
Author: Emilio Cobos Álvarez <emilio@crisal.io>
Date:   Tue, 14 Oct 2025 21:03:30 +0200

Bug 1994157 - Add a missing include needed by gcc.

Diffstat:
Mwidget/nsIWidget.h | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/widget/nsIWidget.h b/widget/nsIWidget.h @@ -45,6 +45,12 @@ #include "mozilla/widget/InitData.h" #include "nsXULAppAPI.h" +// GCC needs this to compile RefPtr<NativeLayerRoot> GetNativeLayerRoot(), +// surprisingly. +#ifdef MOZ_IS_GCC +# include "mozilla/layers/NativeLayer.h" +#endif + // Windows specific constant indicating the maximum number of touch points the // inject api will allow. This also sets the maximum numerical value for touch // ids we can use when injecting touch points on Windows.