Index: third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.cpp |
diff --git a/third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.cpp b/third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.cpp |
index ec57adb2d1bcfa4d4735e132f89ff9e7728e7b3a..e2fca3efce480500ad4bc57702be7baf15ebdf24 100644 |
--- a/third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.cpp |
+++ b/third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.cpp |
@@ -955,9 +955,7 @@ void MediaKeySession::expirationChanged(double updatedExpiryTimeInMS) { |
// 3. If the new expiration time is not NaN, let expiration time be the |
// new expiration time in milliseconds since 01 January 1970 UTC. |
- // (Note that Chromium actually passes 0 to indicate no expiry.) |
- // FIXME: Get Chromium to pass NaN. |
- if (!std::isnan(updatedExpiryTimeInMS) && updatedExpiryTimeInMS != 0.0) |
+ if (!std::isnan(updatedExpiryTimeInMS)) |
expirationTime = updatedExpiryTimeInMS; |
// 4. Set the session's expiration attribute to expiration time. |