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

Unified Diff: third_party/WebKit/Source/modules/webdatabase/InspectorDatabaseAgent.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/InspectorDatabaseAgent.cpp
diff --git a/third_party/WebKit/Source/modules/webdatabase/InspectorDatabaseAgent.cpp b/third_party/WebKit/Source/modules/webdatabase/InspectorDatabaseAgent.cpp
index bb13e652112a8f9870bff8196a15524c562001f6..92a7d17926246db8f682c68b6118f9c629279df9 100644
--- a/third_party/WebKit/Source/modules/webdatabase/InspectorDatabaseAgent.cpp
+++ b/third_party/WebKit/Source/modules/webdatabase/InspectorDatabaseAgent.cpp
@@ -252,7 +252,8 @@ void InspectorDatabaseAgent::DidOpenDatabase(blink::Database* database,
InspectorDatabaseResource::Create(database, domain, name, version);
resources_.Set(resource->Id(), resource);
// Resources are only bound while visible.
- ASSERT(enabled_ && GetFrontend());
+ DCHECK(enabled_);
+ DCHECK(GetFrontend());
resource->Bind(GetFrontend());
}

Powered by Google App Engine
This is Rietveld 408576698