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

Unified Diff: third_party/WebKit/Source/modules/indexeddb/IDBEventDispatcher.cpp

Issue 2801893008: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in modules/indexeddb (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/modules/indexeddb/IDBEventDispatcher.cpp
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBEventDispatcher.cpp b/third_party/WebKit/Source/modules/indexeddb/IDBEventDispatcher.cpp
index a622f586786de48203780fa5dab9c61266e11411..ab70e1b09996d7bf3ff66481528e549fb3f80d3c 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBEventDispatcher.cpp
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBEventDispatcher.cpp
@@ -37,7 +37,7 @@ DispatchEventResult IDBEventDispatcher::Dispatch(
Event* event,
HeapVector<Member<EventTarget>>& event_targets) {
size_t size = event_targets.size();
- ASSERT(size);
+ DCHECK(size);
event->SetEventPhase(Event::kCapturingPhase);
for (size_t i = size - 1; i; --i) { // Don't do the first element.
« no previous file with comments | « third_party/WebKit/Source/modules/indexeddb/IDBAny.cpp ('k') | third_party/WebKit/Source/modules/indexeddb/IDBFactory.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698