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

Unified Diff: third_party/WebKit/Source/core/testing/GCObservation.cpp

Issue 2724243002: Replace ASSERT and ASSERT_NOT_REACHED with DCHECK and NOTREACHED in core/testing/. (Closed)
Patch Set: Created 3 years, 10 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/testing/GCObservation.cpp
diff --git a/third_party/WebKit/Source/core/testing/GCObservation.cpp b/third_party/WebKit/Source/core/testing/GCObservation.cpp
index 4253c3a3ac557c075438a5327596e1f88ec3580b..422816175e70e4d36c1ca0e1bc73a49b2d63922b 100644
--- a/third_party/WebKit/Source/core/testing/GCObservation.cpp
+++ b/third_party/WebKit/Source/core/testing/GCObservation.cpp
@@ -38,7 +38,7 @@ static void setWeakCallbackForGCObservation(
}
void GCObservation::setWasCollected() {
- ASSERT(!wasCollected());
+ DCHECK(!wasCollected());
m_observed.clear();
m_collected = true;
}
« no previous file with comments | « third_party/WebKit/Source/core/testing/DummyPageHolder.cpp ('k') | third_party/WebKit/Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698