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

Unified Diff: third_party/WebKit/Source/modules/webdatabase/QuotaTracker.cpp

Issue 2813433002: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in modules/webdatabase (Closed)
Patch Set: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in modules/webdatabase 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/modules/webdatabase/QuotaTracker.cpp
diff --git a/third_party/WebKit/Source/modules/webdatabase/QuotaTracker.cpp b/third_party/WebKit/Source/modules/webdatabase/QuotaTracker.cpp
index a4924e09f584aec6d4971b4f8577ac8f32836899..4d3a22ba55b7558f456b8c3dc10a9ca8727edc6f 100644
--- a/third_party/WebKit/Source/modules/webdatabase/QuotaTracker.cpp
+++ b/third_party/WebKit/Source/modules/webdatabase/QuotaTracker.cpp
@@ -51,10 +51,10 @@ void QuotaTracker::GetDatabaseSizeAndSpaceAvailableToOrigin(
// Extra scope to unlock prior to potentially calling Platform.
{
MutexLocker lock_data(data_guard_);
- ASSERT(database_sizes_.Contains(origin->ToRawString()));
+ DCHECK(database_sizes_.Contains(origin->ToRawString()));
HashMap<String, SizeMap>::const_iterator it =
database_sizes_.Find(origin->ToRawString());
- ASSERT(it->value.Contains(database_name));
+ DCHECK(it->value.Contains(database_name));
*database_size = it->value.at(database_name);
if (space_available_to_origins_.Contains(origin->ToRawString())) {

Powered by Google App Engine
This is Rietveld 408576698