summaryrefslogtreecommitdiff
path: root/layout
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-05-01 11:14:26 +0000
committerMoonchild <moonchild@palemoon.org>2020-05-01 11:14:26 +0000
commiteea5ea93bc9a0dcd5798e50a60c8f8fdf3decefd (patch)
tree1be19c4e0ef6b3b953d6c45203a32f5f6fb9dede /layout
parent3a26b2376f11077eac1d4232679e3ae24131a910 (diff)
downloaduxp-eea5ea93bc9a0dcd5798e50a60c8f8fdf3decefd.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')
-rw-r--r--layout/generic/nsBRFrame.cpp2
-rw-r--r--layout/style/Declaration.cpp1
-rw-r--r--layout/style/nsCSSScanner.cpp2
3 files changed, 4 insertions, 1 deletions
diff --git a/layout/generic/nsBRFrame.cpp b/layout/generic/nsBRFrame.cpp
index 12c258674e..08c0fe3dda 100644
--- a/layout/generic/nsBRFrame.cpp
+++ b/layout/generic/nsBRFrame.cpp
@@ -6,7 +6,7 @@
/* rendering object for HTML <br> elements */
#include "nsCOMPtr.h"
-#include "nsContainerframe.h"
+#include "nsContainerFrame.h"
#include "nsFontMetrics.h"
#include "nsFrame.h"
#include "nsPresContext.h"
diff --git a/layout/style/Declaration.cpp b/layout/style/Declaration.cpp
index b2de159ed3..9d7ca312c4 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 2110be78cc..b1524a3bb2 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;