summaryrefslogtreecommitdiffstats
path: root/layout/style/StyleSheet.cpp
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-04-30 16:41:13 +0000
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-05-06 19:12:11 +0200
commitaa21f96cf57a12111a5edf27cb5e4e2ea8f4be3d (patch)
treebbfaf4656a3cd4fa12bc79f682a069a4cb3d007c /layout/style/StyleSheet.cpp
parent537c63d600ac5769c509e0f9c7fdd53a294615eb (diff)
downloadUXP-aa21f96cf57a12111a5edf27cb5e4e2ea8f4be3d.tar
UXP-aa21f96cf57a12111a5edf27cb5e4e2ea8f4be3d.tar.gz
UXP-aa21f96cf57a12111a5edf27cb5e4e2ea8f4be3d.tar.lz
UXP-aa21f96cf57a12111a5edf27cb5e4e2ea8f4be3d.tar.xz
UXP-aa21f96cf57a12111a5edf27cb5e4e2ea8f4be3d.zip
Issue #80 - De-unify layout/style (redwood)
Diffstat (limited to 'layout/style/StyleSheet.cpp')
-rw-r--r--layout/style/StyleSheet.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/layout/style/StyleSheet.cpp b/layout/style/StyleSheet.cpp
index f307f3918..a9f6b7ef5 100644
--- a/layout/style/StyleSheet.cpp
+++ b/layout/style/StyleSheet.cpp
@@ -6,6 +6,7 @@
#include "mozilla/StyleSheet.h"
+#include "mozilla/dom/BindingDeclarations.h" // for Optional<>
#include "mozilla/dom/CSSRuleList.h"
#include "mozilla/dom/ShadowRoot.h"
#include "mozilla/ServoStyleSheet.h"
@@ -14,6 +15,8 @@
#include "nsNullPrincipal.h"
+using namespace mozilla::dom;
+
namespace mozilla {
StyleSheet::StyleSheet(StyleBackendType aType, css::SheetParsingMode aParsingMode)