summaryrefslogtreecommitdiff
path: root/layout/generic/nsTextFrameUtils.cpp
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-04-29 16:55:02 +0000
committerMoonchild <moonchild@palemoon.org>2020-04-29 16:55:02 +0000
commit192d2e07c3e5842ca6f005275097449727677fde (patch)
tree1eb269fa72054362f05651c5f105982316ff4e67 /layout/generic/nsTextFrameUtils.cpp
parentad0a976f2d276215d1f159d1aee9553bd7ad32cd (diff)
downloaduxp-192d2e07c3e5842ca6f005275097449727677fde.tar.gz
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 d07400f2be..8562839cc8 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