summaryrefslogtreecommitdiff
path: root/netwerk/streamconv/converters/mozTXTToHTMLConv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'netwerk/streamconv/converters/mozTXTToHTMLConv.cpp')
-rw-r--r--netwerk/streamconv/converters/mozTXTToHTMLConv.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/netwerk/streamconv/converters/mozTXTToHTMLConv.cpp b/netwerk/streamconv/converters/mozTXTToHTMLConv.cpp
index db23cca35f..c5be10b216 100644
--- a/netwerk/streamconv/converters/mozTXTToHTMLConv.cpp
+++ b/netwerk/streamconv/converters/mozTXTToHTMLConv.cpp
@@ -53,7 +53,7 @@ mozTXTToHTMLConv::EscapeChar(const char16_t ch, nsString& aStringToAppendTo,
break;
}
// else fall through
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
default:
aStringToAppendTo += ch;
}
@@ -101,7 +101,7 @@ mozTXTToHTMLConv::EscapeStr(nsString& aInString, bool inAttribute)
break;
}
// else fall through
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
default:
i++;
}
@@ -512,7 +512,7 @@ mozTXTToHTMLConv::FindURL(const char16_t * aInString, int32_t aInLength, const u
{
case '@':
state[RFC2396E] = unchecked;
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
case '.':
state[abbreviated] = unchecked;
break;