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

Unified Diff: third_party/WebKit/Source/platform/exported/WebContentSettingCallbacks.cpp

Issue 2811463002: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in platform/exported (Closed)
Patch Set: rebase Created 3 years, 8 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/platform/exported/WebContentSettingCallbacks.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebContentSettingCallbacks.cpp b/third_party/WebKit/Source/platform/exported/WebContentSettingCallbacks.cpp
index 50b0aaeb200c167190dfbfd541c5919bf561f763..c1da7697b3ee9ddf181bfa39516a23faceb19d96 100644
--- a/third_party/WebKit/Source/platform/exported/WebContentSettingCallbacks.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebContentSettingCallbacks.cpp
@@ -43,13 +43,13 @@ void WebContentSettingCallbacks::Assign(
}
void WebContentSettingCallbacks::DoAllow() {
- ASSERT(!private_.IsNull());
+ DCHECK(!private_.IsNull());
private_->Callbacks()->OnAllowed();
private_.Reset();
}
void WebContentSettingCallbacks::DoDeny() {
- ASSERT(!private_.IsNull());
+ DCHECK(!private_.IsNull());
private_->Callbacks()->OnDenied();
private_.Reset();
}

Powered by Google App Engine
This is Rietveld 408576698