From 8f0d73d3aeb8dc087c35e1a9de8cbce8a2206eee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Sat, 11 Mar 2023 02:00:25 +0000 Subject: [PATCH] Bug 1821815 - Remove some unused ServoStyleConstsInlines includes. r=boris I noticed extremely long build times when touching that file and this helps a bit. Differential Revision: https://phabricator.services.mozilla.com/D172344 --- gfx/src/nsFont.h | 2 +- layout/style/nsStyleStruct.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/gfx/src/nsFont.h b/gfx/src/nsFont.h index 9f3379786b93..3e8bffa5c1a1 100644 --- a/gfx/src/nsFont.h +++ b/gfx/src/nsFont.h @@ -10,7 +10,7 @@ #include #include "gfxFontConstants.h" // for NS_FONT_KERNING_AUTO, etc #include "gfxFontVariations.h" -#include "mozilla/ServoStyleConstsInlines.h" +#include "mozilla/ServoStyleConsts.h" #include "mozilla/StyleColorInlines.h" // for StyleAbsoluteColor #include "nsTArray.h" // for nsTArray diff --git a/layout/style/nsStyleStruct.h b/layout/style/nsStyleStruct.h index 63292ff2f959..6e84243f53f0 100644 --- a/layout/style/nsStyleStruct.h +++ b/layout/style/nsStyleStruct.h @@ -16,7 +16,6 @@ #include "mozilla/Attributes.h" #include "mozilla/Likely.h" #include "mozilla/Maybe.h" -#include "mozilla/ServoStyleConstsInlines.h" #include "mozilla/UniquePtr.h" #include "mozilla/WindowButtonType.h" #include "nsColor.h"