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

Unified Diff: third_party/WebKit/Source/modules/quota/StorageManager.cpp

Issue 2812473002: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in modules/quota (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
« no previous file with comments | « third_party/WebKit/Source/modules/quota/DeprecatedStorageQuota.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/quota/StorageManager.cpp
diff --git a/third_party/WebKit/Source/modules/quota/StorageManager.cpp b/third_party/WebKit/Source/modules/quota/StorageManager.cpp
index 783d48d0bbc6e9c87383560fcb24783c20c744d6..609a7727b8e045b449fdc63e1c49381989e892dd 100644
--- a/third_party/WebKit/Source/modules/quota/StorageManager.cpp
+++ b/third_party/WebKit/Source/modules/quota/StorageManager.cpp
@@ -72,7 +72,7 @@ ScriptPromise StorageManager::persist(ScriptState* script_state) {
return promise;
}
- ASSERT(execution_context->IsDocument());
+ DCHECK(execution_context->IsDocument());
PermissionService* permission_service =
GetPermissionService(script_state->GetExecutionContext());
if (!permission_service) {
« no previous file with comments | « third_party/WebKit/Source/modules/quota/DeprecatedStorageQuota.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698