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

Unified Diff: third_party/WebKit/Source/modules/mediasession/MediaSessionError.cpp

Issue 2058783002: media: 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, 6 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
« no previous file with comments | « third_party/WebKit/Source/modules/mediasession/MediaSession.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/mediasession/MediaSessionError.cpp
diff --git a/third_party/WebKit/Source/modules/mediasession/MediaSessionError.cpp b/third_party/WebKit/Source/modules/mediasession/MediaSessionError.cpp
index 43a62fd7aa2bd016d3f59d56ff2ca34b0d95b001..b14218a4afdc651f8bbabcb870f908957e13d54c 100644
--- a/third_party/WebKit/Source/modules/mediasession/MediaSessionError.cpp
+++ b/third_party/WebKit/Source/modules/mediasession/MediaSessionError.cpp
@@ -14,7 +14,7 @@ namespace blink {
// static
DOMException* MediaSessionError::take(ScriptPromiseResolver*, const WebMediaSessionError& webError)
{
- ASSERT(webError == WebMediaSessionError::Activate);
+ DCHECK(webError == WebMediaSessionError::Activate);
return DOMException::create(InvalidStateError, "The media session activation failed.");
}
« no previous file with comments | « third_party/WebKit/Source/modules/mediasession/MediaSession.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698