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:
@@ -2473,7 +2473,7 @@ HTMLMediaElement::LoadFromSourceChildren()
|
||||
// If we fail to load, loop back and try loading the next resource.
|
||||
DispatchAsyncSourceError(child);
|
||||
}
|
||||
NS_NOTREACHED("Execution should not reach here!");
|
||||
MOZ_ASSERT_UNREACHABLE("Execution should not reach here!");
|
||||
}
|
||||
|
||||
void
|
||||
@@ -6703,7 +6703,7 @@ HTMLMediaElement::GetNextSource()
|
||||
return child->AsElement();
|
||||
}
|
||||
}
|
||||
NS_NOTREACHED("Execution should not reach here!");
|
||||
MOZ_ASSERT_UNREACHABLE("Execution should not reach here!");
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user