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

Unified Diff: third_party/WebKit/Source/core/html/MediaFragmentURIParser.cpp

Issue 2258033002: Replace ASSERT()s with DCHECK*() in core/html/*.{cpp,h}. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Replace ASSERT()s with DCHECK*() in core/html/*.{cpp,h}. Created 4 years, 4 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/MediaFragmentURIParser.cpp
diff --git a/third_party/WebKit/Source/core/html/MediaFragmentURIParser.cpp b/third_party/WebKit/Source/core/html/MediaFragmentURIParser.cpp
index 635f4b34e1a6d6b078d86ffd4ae4353cc4132018..8842b5c90f3894c3a7bab5b65f93da5ff43ef465 100644
--- a/third_party/WebKit/Source/core/html/MediaFragmentURIParser.cpp
+++ b/third_party/WebKit/Source/core/html/MediaFragmentURIParser.cpp
@@ -144,7 +144,7 @@ void MediaFragmentURIParser::parseFragments()
void MediaFragmentURIParser::parseTimeFragment()
{
- ASSERT(m_timeFormat == None);
+ DCHECK_EQ(m_timeFormat, None);
if (m_fragments.isEmpty())
parseFragments();
@@ -154,8 +154,8 @@ void MediaFragmentURIParser::parseTimeFragment()
for (unsigned i = 0; i < m_fragments.size(); ++i) {
std::pair<String, String>& fragment = m_fragments[i];
- ASSERT(fragment.first.is8Bit());
- ASSERT(fragment.second.is8Bit());
+ DCHECK(fragment.first.is8Bit());
+ DCHECK(fragment.second.is8Bit());
// http://www.w3.org/2008/WebVideo/Fragments/WD-media-fragments-spec/#naming-time
// Temporal clipping is denoted by the name t, and specified as an interval with a begin
« no previous file with comments | « third_party/WebKit/Source/core/html/MediaDocument.cpp ('k') | third_party/WebKit/Source/core/html/PluginDocument.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698