summaryrefslogtreecommitdiff
path: root/dom/xslt
diff options
context:
space:
mode:
Diffstat (limited to 'dom/xslt')
-rw-r--r--dom/xslt/xpath/txLocationStep.cpp4
-rw-r--r--dom/xslt/xslt/txOutputFormat.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/dom/xslt/xpath/txLocationStep.cpp b/dom/xslt/xpath/txLocationStep.cpp
index f945b750fe..0625d3944f 100644
--- a/dom/xslt/xpath/txLocationStep.cpp
+++ b/dom/xslt/xpath/txLocationStep.cpp
@@ -42,7 +42,7 @@ LocationStep::evaluate(txIEvalContext* aContext, txAExprResult** aResult)
if (!walker.moveToParent()) {
break;
}
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
}
case ANCESTOR_OR_SELF_AXIS:
{
@@ -74,7 +74,7 @@ LocationStep::evaluate(txIEvalContext* aContext, txAExprResult** aResult)
if (mNodeTest->matches(walker.getCurrentPosition(), aContext)) {
nodes->append(walker.getCurrentPosition());
}
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
}
case DESCENDANT_AXIS:
{
diff --git a/dom/xslt/xslt/txOutputFormat.cpp b/dom/xslt/xslt/txOutputFormat.cpp
index dcf28f5cb5..3609c5c994 100644
--- a/dom/xslt/xslt/txOutputFormat.cpp
+++ b/dom/xslt/xslt/txOutputFormat.cpp
@@ -81,7 +81,7 @@ void txOutputFormat::setFromDefaults()
case eMethodNotSet:
{
mMethod = eXMLOutput;
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
}
case eXMLOutput:
{