summaryrefslogtreecommitdiffstats
path: root/layout/style/nsCSSValue.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/nsCSSValue.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/nsCSSValue.cpp')
-rw-r--r--layout/style/nsCSSValue.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/layout/style/nsCSSValue.cpp b/layout/style/nsCSSValue.cpp
index baf5b7897..0a905a055 100644
--- a/layout/style/nsCSSValue.cpp
+++ b/layout/style/nsCSSValue.cpp
@@ -6,11 +6,12 @@
/* representation of simple property values within CSS declarations */
+#include "mozilla/ArrayUtils.h"
+
#include "nsCSSValue.h"
#include "mozilla/StyleSheetInlines.h"
#include "mozilla/Likely.h"
-#include "mozilla/MemoryReporting.h"
#include "mozilla/Move.h"
#include "mozilla/css/ImageLoader.h"
#include "CSSCalc.h"
@@ -18,8 +19,6 @@
#include "imgIRequest.h"
#include "imgRequestProxy.h"
#include "nsIDocument.h"
-#include "nsIPrincipal.h"
-#include "nsCSSProps.h"
#include "nsNetUtil.h"
#include "nsPresContext.h"
#include "nsStyleUtil.h"
@@ -27,7 +26,9 @@
#include "nsStyleSet.h"
#include "nsContentUtils.h"
+
using namespace mozilla;
+using namespace mozilla::css;
static bool
IsLocalRefURL(nsStringBuffer* aString)