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

Unified Diff: third_party/WebKit/Source/core/html/track/TextTrackCue.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/TextTrackCue.cpp
diff --git a/third_party/WebKit/Source/core/html/track/TextTrackCue.cpp b/third_party/WebKit/Source/core/html/track/TextTrackCue.cpp
index d97d7dd0f3851b29b7775366ec608457bad89ec1..1d1b5302babeb384eb4e812800418482523f1291 100644
--- a/third_party/WebKit/Source/core/html/track/TextTrackCue.cpp
+++ b/third_party/WebKit/Source/core/html/track/TextTrackCue.cpp
@@ -129,7 +129,7 @@ unsigned TextTrackCue::cueIndex()
{
// This method can only be called on cues while they are associated with
// a(n enabled) track (and hence that track's list of cues should exist.)
- ASSERT(track() && track()->cues());
+ DCHECK(track() && track()->cues());
TextTrackCueList* cueList = track()->cues();
if (!cueList->isCueIndexValid(m_cueIndex))
cueList->validateCueIndexes();

Powered by Google App Engine
This is Rietveld 408576698