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

Unified Diff: third_party/WebKit/Source/core/html/imports/LinkImport.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
« no previous file with comments | « third_party/WebKit/Source/core/html/imports/HTMLImportsController.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/html/imports/LinkImport.cpp
diff --git a/third_party/WebKit/Source/core/html/imports/LinkImport.cpp b/third_party/WebKit/Source/core/html/imports/LinkImport.cpp
index 4d2b4c11e5897086b183962cb52a663b38ff4c37..631af061a73bd750ab8443427501713529f7a900 100644
--- a/third_party/WebKit/Source/core/html/imports/LinkImport.cpp
+++ b/third_party/WebKit/Source/core/html/imports/LinkImport.cpp
@@ -75,7 +75,7 @@ void LinkImport::process()
if (!m_owner->document().importsController()) {
// The document should be the master.
Document& master = m_owner->document();
- ASSERT(master.frame());
+ DCHECK(master.frame());
master.setImportsController(HTMLImportsController::create(master));
}
@@ -104,7 +104,7 @@ void LinkImport::didFinish()
void LinkImport::importChildWasDisposed(HTMLImportChild* child)
{
- ASSERT(m_child == child);
+ DCHECK_EQ(m_child, child);
m_child = nullptr;
m_owner = nullptr;
}
« no previous file with comments | « third_party/WebKit/Source/core/html/imports/HTMLImportsController.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698