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

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: fixed dcheck build error 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 689917dfca6e619f3f89d57dd4974512e28bfebe..8510f44571a5853b3225cb8483948fe4abd0e00a 100644
--- a/third_party/WebKit/Source/bindings/core/v8/Iterable.h
+++ b/third_party/WebKit/Source/bindings/core/v8/Iterable.h
@@ -71,7 +71,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