summaryrefslogtreecommitdiffstats
path: root/layout/generic/nsTextFrameUtils.cpp
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-04-29 16:55:02 +0000
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-05-06 19:06:06 +0200
commit975db4c7f0027992845dbd41fa66bef38f285dd9 (patch)
treea2b74667d081ccb3254671cafe7b7bb7d53b5529 /layout/generic/nsTextFrameUtils.cpp
parent528abd534ef3e785d4a926a235e58f5c5179aef5 (diff)
downloadUXP-975db4c7f0027992845dbd41fa66bef38f285dd9.tar
UXP-975db4c7f0027992845dbd41fa66bef38f285dd9.tar.gz
UXP-975db4c7f0027992845dbd41fa66bef38f285dd9.tar.lz
UXP-975db4c7f0027992845dbd41fa66bef38f285dd9.tar.xz
UXP-975db4c7f0027992845dbd41fa66bef38f285dd9.zip
Issue #80 - De-unify layout/PITA... I mean layout/generic
Diffstat (limited to 'layout/generic/nsTextFrameUtils.cpp')
-rw-r--r--layout/generic/nsTextFrameUtils.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/layout/generic/nsTextFrameUtils.cpp b/layout/generic/nsTextFrameUtils.cpp
index d07400f2b..8562839cc 100644
--- a/layout/generic/nsTextFrameUtils.cpp
+++ b/layout/generic/nsTextFrameUtils.cpp
@@ -13,6 +13,8 @@
#include "nsUnicharUtils.h"
#include <algorithm>
+using namespace mozilla;
+
static bool IsDiscardable(char16_t ch, uint32_t* aFlags)
{
// Unlike IS_DISCARDABLE, we don't discard \r. \r will be ignored by gfxTextRun