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

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

Issue 1999813002: Revert of 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: 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 f9125f11ffbe9738dd857221e3627c0248c22fee..78cb2b7acb87945e1617735e8350e11fa85c25b1 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 @@
default:
break;
}
- NOTREACHED();
+ ASSERT_NOT_REACHED();
return TextTrack::subtitlesKeyword();
}
@@ -84,7 +84,7 @@
if (trackList)
return;
- DCHECK(m_webTrack);
+ ASSERT(m_webTrack);
m_webTrack->setClient(nullptr);
m_webTrack = nullptr;
}
@@ -92,7 +92,7 @@
void InbandTextTrack::addWebVTTCue(double start, double end, const WebString& id, const WebString& content, const WebString& settings)
{
HTMLMediaElement* owner = mediaElement();
- DCHECK(owner);
+ ASSERT(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