Bug 1660405 - Move away from mozilla::IsNaN in favor of std::isnan. r=nbp,media-playback-reviewers,sergesanspaille,padenot

Differential Revision: https://phabricator.services.mozilla.com/D173035
This commit is contained in:
Andi-Bogdan Postelnicu
2023-03-22 11:35:33 +00:00
parent 4f68c02f21
commit 011e3fc2d9
90 changed files with 236 additions and 253 deletions

View File

@@ -3174,7 +3174,7 @@ void HTMLMediaElement::Seek(double aTime, SeekTarget::Type aSeekType,
// synchronous errors are returned using aRv, not promise rejections.
// aTime should be non-NaN.
MOZ_ASSERT(!mozilla::IsNaN(aTime));
MOZ_ASSERT(!std::isnan(aTime));
// Seeking step1, Set the media element's show poster flag to false.
// https://html.spec.whatwg.org/multipage/media.html#dom-media-seek