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

Unified Diff: third_party/WebKit/Source/core/html/track/InbandTextTrack.cpp

Issue 2003543002: media/track: 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: address comments 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/core/html/track/InbandTextTrack.cpp
diff --git a/third_party/WebKit/Source/core/html/track/InbandTextTrack.cpp b/third_party/WebKit/Source/core/html/track/InbandTextTrack.cpp
index 78cb2b7acb87945e1617735e8350e11fa85c25b1..f9125f11ffbe9738dd857221e3627c0248c22fee 100644
--- a/third_party/WebKit/Source/core/html/track/InbandTextTrack.cpp
+++ b/third_party/WebKit/Source/core/html/track/InbandTextTrack.cpp
@@ -54,7 +54,7 @@ const AtomicString& textTrackKindToString(WebInbandTextTrack::Kind kind)
default:
break;
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return TextTrack::subtitlesKeyword();
}
@@ -84,7 +84,7 @@ void InbandTextTrack::setTrackList(TextTrackList* trackList)
if (trackList)
return;
- ASSERT(m_webTrack);
+ DCHECK(m_webTrack);
m_webTrack->setClient(nullptr);
m_webTrack = nullptr;
}
@@ -92,7 +92,7 @@ void InbandTextTrack::setTrackList(TextTrackList* trackList)
void InbandTextTrack::addWebVTTCue(double start, double end, const WebString& id, const WebString& content, const WebString& settings)
{
HTMLMediaElement* owner = mediaElement();
- ASSERT(owner);
+ DCHECK(owner);
VTTCue* cue = VTTCue::create(owner->document(), start, end, content);
cue->setId(id);
cue->parseSettings(settings);
« no previous file with comments | « third_party/WebKit/Source/core/html/track/CueTimeline.cpp ('k') | third_party/WebKit/Source/core/html/track/TextTrack.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698