Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(648)

Unified Diff: third_party/WebKit/Source/modules/encryptedmedia/ContentDecryptionModuleResultPromise.cpp

Issue 2001173002: encryptedmedia: Replace wtf/Assertions.h macros in favor of base/logging.h macros (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/encryptedmedia/ContentDecryptionModuleResultPromise.cpp
diff --git a/third_party/WebKit/Source/modules/encryptedmedia/ContentDecryptionModuleResultPromise.cpp b/third_party/WebKit/Source/modules/encryptedmedia/ContentDecryptionModuleResultPromise.cpp
index 931af86f682a01b8714233f05ce1538a017f9f55..811874b0ef452d084fb879c6deb708d4fcb3a93d 100644
--- a/third_party/WebKit/Source/modules/encryptedmedia/ContentDecryptionModuleResultPromise.cpp
+++ b/third_party/WebKit/Source/modules/encryptedmedia/ContentDecryptionModuleResultPromise.cpp
@@ -33,7 +33,7 @@ ExceptionCode WebCdmExceptionToExceptionCode(WebContentDecryptionModuleException
return UnknownError;
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return UnknownError;
}
@@ -48,19 +48,19 @@ ContentDecryptionModuleResultPromise::~ContentDecryptionModuleResultPromise()
void ContentDecryptionModuleResultPromise::complete()
{
- ASSERT_NOT_REACHED();
+ NOTREACHED();
reject(InvalidStateError, "Unexpected completion.");
}
void ContentDecryptionModuleResultPromise::completeWithContentDecryptionModule(WebContentDecryptionModule* cdm)
{
- ASSERT_NOT_REACHED();
+ NOTREACHED();
reject(InvalidStateError, "Unexpected completion.");
}
void ContentDecryptionModuleResultPromise::completeWithSession(WebContentDecryptionModuleResult::SessionStatus status)
{
- ASSERT_NOT_REACHED();
+ NOTREACHED();
reject(InvalidStateError, "Unexpected completion.");
}

Powered by Google App Engine
This is Rietveld 408576698