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

Unified Diff: third_party/WebKit/Source/core/html/imports/HTMLImportTreeRoot.cpp

Issue 2264483002: Replace ASSERT()s with DCHECK*() in core/html/imports/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/imports/HTMLImportTreeRoot.cpp
diff --git a/third_party/WebKit/Source/core/html/imports/HTMLImportTreeRoot.cpp b/third_party/WebKit/Source/core/html/imports/HTMLImportTreeRoot.cpp
index a6f24bf3fb6f785683315cc0ac7218c7d0ec9078..f7a71f993d71727dbfe8c1324dd2a310b29ecdce 100644
--- a/third_party/WebKit/Source/core/html/imports/HTMLImportTreeRoot.cpp
+++ b/third_party/WebKit/Source/core/html/imports/HTMLImportTreeRoot.cpp
@@ -64,7 +64,7 @@ void HTMLImportTreeRoot::stateDidChange()
void HTMLImportTreeRoot::scheduleRecalcState()
{
- ASSERT(m_document);
+ DCHECK(m_document);
if (m_recalcTimer.isActive() || !m_document->isActive())
return;
m_recalcTimer.startOneShot(0, BLINK_FROM_HERE);
@@ -89,7 +89,7 @@ HTMLImportChild* HTMLImportTreeRoot::find(const KURL& url) const
void HTMLImportTreeRoot::recalcTimerFired(TimerBase*)
{
- ASSERT(m_document);
+ DCHECK(m_document);
HTMLImport::recalcTreeState(this);
}

Powered by Google App Engine
This is Rietveld 408576698