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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/Iterable.h

Issue 2817533003: Replace ASSERT, RELEASE_ASSERT, and ASSERT_NOT_REACHED in bindings (Closed)
Patch Set: 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/bindings/core/v8/Iterable.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/Iterable.h b/third_party/WebKit/Source/bindings/core/v8/Iterable.h
index 4095c90f6b61dd6797177891e8e806a45777b06d..4d20f1eaea1da266b7f52baff10b4699a369e524 100644
--- a/third_party/WebKit/Source/bindings/core/v8/Iterable.h
+++ b/third_party/WebKit/Source/bindings/core/v8/Iterable.h
@@ -70,7 +70,7 @@ class Iterable {
if (!source->Next(script_state, key, value, exception_state))
return;
- ASSERT(!exception_state.HadException());
+ DCHECK(!exception_state.HadException());
args[0] = ToV8(value, creation_context, isolate);
args[1] = ToV8(key, creation_context, isolate);

Powered by Google App Engine
This is Rietveld 408576698