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

Unified Diff: third_party/WebKit/Source/core/dom/DocumentParserTiming.cpp

Issue 1854423002: ASSERT -> {DCHECK|DCHECK_XX}, ENABLE(ASSERT) -> DCHECK_IS_ON() in dom (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mark svg/as-image/svg-nested.html crash on win Created 4 years, 8 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/dom/DocumentParserTiming.cpp
diff --git a/third_party/WebKit/Source/core/dom/DocumentParserTiming.cpp b/third_party/WebKit/Source/core/dom/DocumentParserTiming.cpp
index f02c037aad9678e7a3087dc84c8df031ad310193..506daeab5ca8d6b11653f75c8045244ebca21642 100644
--- a/third_party/WebKit/Source/core/dom/DocumentParserTiming.cpp
+++ b/third_party/WebKit/Source/core/dom/DocumentParserTiming.cpp
@@ -27,7 +27,7 @@ void DocumentParserTiming::markParserStart()
{
if (m_parserDetached || m_parserStart > 0.0)
return;
- ASSERT(m_parserStop == 0.0);
+ DCHECK_EQ(m_parserStop, 0.0);
m_parserStart = monotonicallyIncreasingTime();
notifyDocumentParserTimingChanged();
}
@@ -42,7 +42,7 @@ void DocumentParserTiming::markParserStop()
void DocumentParserTiming::markParserDetached()
{
- ASSERT(m_parserStart > 0.0);
+ DCHECK_GT(m_parserStart, 0.0);
m_parserDetached = true;
}

Powered by Google App Engine
This is Rietveld 408576698