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

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

Issue 2401523002: Replace ASSERT family with DCHECK and so on in core/dom/. (Closed)
Patch Set: Created 4 years, 2 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/TreeScopeAdopter.cpp
diff --git a/third_party/WebKit/Source/core/dom/TreeScopeAdopter.cpp b/third_party/WebKit/Source/core/dom/TreeScopeAdopter.cpp
index bff1dcfa96a371191a45124b4f72ece1ac34564c..8600f7773cf3b11aa8b994cf5d819644ce31eddf 100644
--- a/third_party/WebKit/Source/core/dom/TreeScopeAdopter.cpp
+++ b/third_party/WebKit/Source/core/dom/TreeScopeAdopter.cpp
@@ -112,8 +112,7 @@ static Document* oldDocumentDidMoveToNewDocumentWasCalledWith = 0;
void TreeScopeAdopter::ensureDidMoveToNewDocumentWasCalled(
Document& oldDocument) {
DCHECK(!didMoveToNewDocumentWasCalled);
- ASSERT_UNUSED(oldDocument,
- oldDocument == oldDocumentDidMoveToNewDocumentWasCalledWith);
+ DCHECK_EQ(oldDocument, oldDocumentDidMoveToNewDocumentWasCalledWith);
didMoveToNewDocumentWasCalled = true;
}
#endif
« no previous file with comments | « third_party/WebKit/Source/core/dom/TagCollection.h ('k') | third_party/WebKit/Source/core/dom/URLSearchParams.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698