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

Unified Diff: third_party/WebKit/Source/platform/exported/WebStorageQuotaCallbacks.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/WebStorageQuotaCallbacks.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebStorageQuotaCallbacks.cpp b/third_party/WebKit/Source/platform/exported/WebStorageQuotaCallbacks.cpp
index d966bb48f0dabb65efbc997d623342d0c0fa9eda..37680686d96fcf6846a138c8c0af7d4e2887340c 100644
--- a/third_party/WebKit/Source/platform/exported/WebStorageQuotaCallbacks.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebStorageQuotaCallbacks.cpp
@@ -23,7 +23,7 @@ void WebStorageQuotaCallbacks::Assign(const WebStorageQuotaCallbacks& other) {
void WebStorageQuotaCallbacks::DidQueryStorageUsageAndQuota(
unsigned long long usage_in_bytes,
unsigned long long quota_in_bytes) {
- ASSERT(!private_.IsNull());
+ DCHECK(!private_.IsNull());
private_->DidQueryStorageUsageAndQuota(usage_in_bytes, quota_in_bytes);
private_.Reset();
}
@@ -31,13 +31,13 @@ void WebStorageQuotaCallbacks::DidQueryStorageUsageAndQuota(
void WebStorageQuotaCallbacks::DidGrantStorageQuota(
unsigned long long usage_in_bytes,
unsigned long long granted_quota_in_bytes) {
- ASSERT(!private_.IsNull());
+ DCHECK(!private_.IsNull());
private_->DidGrantStorageQuota(usage_in_bytes, granted_quota_in_bytes);
private_.Reset();
}
void WebStorageQuotaCallbacks::DidFail(WebStorageQuotaError error) {
- ASSERT(!private_.IsNull());
+ DCHECK(!private_.IsNull());
private_->DidFail(error);
private_.Reset();
}

Powered by Google App Engine
This is Rietveld 408576698