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

Unified Diff: third_party/WebKit/Source/modules/netinfo/NetworkInformation.cpp

Issue 2879773002: Replace remaining ASSERT with DCHECK|DCHECK_FOO in modules (Closed)
Patch Set: Replace remaining ASSERT with DCHECK|DCHECK_FOO in modules Created 3 years, 7 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/modules/netinfo/NetworkInformation.cpp
diff --git a/third_party/WebKit/Source/modules/netinfo/NetworkInformation.cpp b/third_party/WebKit/Source/modules/netinfo/NetworkInformation.cpp
index eb7ddec8cbd0d9b48fea6842d77d78c8957fbc6e..02f037404613dbd4635906ccd968738681270bff 100644
--- a/third_party/WebKit/Source/modules/netinfo/NetworkInformation.cpp
+++ b/third_party/WebKit/Source/modules/netinfo/NetworkInformation.cpp
@@ -116,7 +116,7 @@ void NetworkInformation::RemoveAllEventListeners() {
}
bool NetworkInformation::HasPendingActivity() const {
- ASSERT(context_stopped_ || observing_ == HasEventListeners());
+ DCHECK(context_stopped_ || observing_ == HasEventListeners());
// Prevent collection of this object when there are active listeners.
return observing_;

Powered by Google App Engine
This is Rietveld 408576698