summaryrefslogtreecommitdiffstats
path: root/layout/style
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-05-01 11:14:26 +0000
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-05-06 19:12:59 +0200
commit0afb9e2d758dd1c8cf9c7fc43dc58b4021c850dc (patch)
tree313e64844fd06dae7c2dc7537f3be10dcbccfccf /layout/style
parente733c3681b03436a43c20cfda2db1d2c79591640 (diff)
downloadUXP-0afb9e2d758dd1c8cf9c7fc43dc58b4021c850dc.tar
UXP-0afb9e2d758dd1c8cf9c7fc43dc58b4021c850dc.tar.gz
UXP-0afb9e2d758dd1c8cf9c7fc43dc58b4021c850dc.tar.lz
UXP-0afb9e2d758dd1c8cf9c7fc43dc58b4021c850dc.tar.xz
UXP-0afb9e2d758dd1c8cf9c7fc43dc58b4021c850dc.zip
Issue #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.cpp1
-rw-r--r--layout/style/nsCSSScanner.cpp2
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;