Bug 1469769 - Part 6: Replace non-failing NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE. r=froydnj
This patch is an automatic replacement of s/NS_NOTREACHED/MOZ_ASSERT_UNREACHABLE/. Reindenting long lines and whitespace fixups follow in patch 6b. MozReview-Commit-ID: 5UQVHElSpCr
This commit is contained in:
@@ -1794,7 +1794,7 @@ DirectionToName(nsITextControlFrame::SelectionDirection dir, nsAString& aDirecti
|
||||
} else if (dir == nsITextControlFrame::eBackward) {
|
||||
aDirection.AssignLiteral("backward");
|
||||
} else {
|
||||
NS_NOTREACHED("Invalid SelectionDirection value");
|
||||
MOZ_ASSERT_UNREACHABLE("Invalid SelectionDirection value");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user