diff options
author | Moonchild <moonchild@palemoon.org> | 2020-05-01 11:14:26 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-05-01 11:14:26 +0000 |
commit | 3d04c0aa2603fc3bdf719d6d5c8fce8002e651a6 (patch) | |
tree | 1be19c4e0ef6b3b953d6c45203a32f5f6fb9dede /layout/style | |
parent | 2742d2437f23610c89dacc9eecbac9ebc31d390a (diff) | |
download | aura-central-3d04c0aa2603fc3bdf719d6d5c8fce8002e651a6.tar.gz |
Issue mcp-graveyard/UXP%80 - Resolve issues with compiling on insane gcc configurations with no optimizations in layout/
(and fix a typo for cs fs)
Diffstat (limited to 'layout/style')
-rw-r--r-- | layout/style/Declaration.cpp | 1 | ||||
-rw-r--r-- | layout/style/nsCSSScanner.cpp | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/layout/style/Declaration.cpp b/layout/style/Declaration.cpp index b2de159ed..9d7ca312c 100644 --- a/layout/style/Declaration.cpp +++ b/layout/style/Declaration.cpp @@ -14,6 +14,7 @@ #include "mozilla/css/Declaration.h" #include "nsPrintfCString.h" #include "gfxFontConstants.h" +#include "nsCSSRules.h" #include "nsStyleUtil.h" namespace mozilla { diff --git a/layout/style/nsCSSScanner.cpp b/layout/style/nsCSSScanner.cpp index 2110be78c..b1524a3bb 100644 --- a/layout/style/nsCSSScanner.cpp +++ b/layout/style/nsCSSScanner.cpp @@ -14,6 +14,8 @@ #include "mozilla/Likely.h" #include <algorithm> +using mozilla::IsNaN; + /* Character class tables and related helper functions. */ static const uint8_t IS_HEX_DIGIT = 0x01; |